aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-03 19:13:24 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-03 19:13:24 +0200
commita3fe6efd9b9ef90491abab44f1c1e2b9516aa5a3 (patch)
tree3d592a00452de32652e9fd807f5d4101eb07396a
parent1c89a4be8a9862df32d9c5d0ecb716a460738ec9 (diff)
downloadlibquotient-a3fe6efd9b9ef90491abab44f1c1e2b9516aa5a3.tar.gz
libquotient-a3fe6efd9b9ef90491abab44f1c1e2b9516aa5a3.zip
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.
-rw-r--r--tests/quotest.cpp8
1 files 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