From a3fe6efd9b9ef90491abab44f1c1e2b9516aa5a3 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 3 Aug 2020 19:13:24 +0200 Subject: quotest: use #test instead of #quotient in loadMembers test #quotient:matrix.org is a primary channel to talk to users and developers, and events produced by changeName test come really noisy. #test:matrix.org is a perfect place to test things out, OTOH. --- tests/quotest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/quotest.cpp b/tests/quotest.cpp index ce714a84..622a8cfb 100644 --- a/tests/quotest.cpp +++ b/tests/quotest.cpp @@ -305,11 +305,11 @@ void TestManager::doTests() TEST_IMPL(loadMembers) { // Trying to load members from another (larger) room - auto* r = connection()->roomByAlias(QStringLiteral("#quotient:matrix.org"), - JoinState::Join); + const auto& testRoomAlias = QStringLiteral("#test:matrix.org"); + auto* r = connection()->roomByAlias(testRoomAlias, JoinState::Join); if (!r) { - clog << "#quotient:matrix.org is not found in the test user's rooms" - << endl; + clog << testRoomAlias.toStdString() + << " is not found in the test user's rooms" << endl; FAIL_TEST(); } // It's not exactly correct because an arbitrary server might not support -- cgit v1.2.3