aboutsummaryrefslogtreecommitdiff
path: root/quotest/quotest.cpp
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-02-09 21:11:14 +0100
committerCarl Schwan <carl@carlschwan.eu>2021-02-09 21:11:14 +0100
commit9760bc4c22b2abf9732732df22cadb7f7db0641c (patch)
tree155ad636489b843d47b959d98e2ae10ac3f1c686 /quotest/quotest.cpp
parentbfaf9330c4214636478df977ab7f6b5d1d843104 (diff)
downloadlibquotient-9760bc4c22b2abf9732732df22cadb7f7db0641c.tar.gz
libquotient-9760bc4c22b2abf9732732df22cadb7f7db0641c.zip
Update
Diffstat (limited to 'quotest/quotest.cpp')
-rw-r--r--quotest/quotest.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp
index ed1c1d13..2512df0d 100644
--- a/quotest/quotest.cpp
+++ b/quotest/quotest.cpp
@@ -513,12 +513,7 @@ TEST_IMPL(changeName)
TEST_IMPL(showLocalUsername)
{
auto* const localUser = connection()->user();
- if (localUser->name().contains("@")) {
- // it is using the id fallback :(
- FAIL_TEST();
- }
- FINISH_TEST(true);
- return false;
+ FINISH_TEST(localUser->name().contains("@"));
}
TEST_IMPL(sendAndRedact)