aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
Diffstat (limited to 'autotests')
-rw-r--r--autotests/testolmsession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/testolmsession.cpp b/autotests/testolmsession.cpp
index 2f7a82e9..fc151621 100644
--- a/autotests/testolmsession.cpp
+++ b/autotests/testolmsession.cpp
@@ -52,9 +52,9 @@ void TestOlmSession::olmEncryptDecrypt()
QVERIFY(std::get<bool>(inboundSession->matchesInboundSession(m)));
}
- //const auto decrypted = inboundSession->decrypt(encrypted);
+ const auto decrypted = std::get<QString>(inboundSession->decrypt(encrypted));
- //QCOMPARE(decrypted, "Hello world!");
+ QCOMPARE(decrypted, "Hello world!");
#endif
}