diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-21 21:09:49 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-26 10:46:34 +0200 |
commit | 2ff045d8b381bfbd64100d083f81b61c5fe87b23 (patch) | |
tree | 00f200e7c7547df77fd034a2bad04815c6a04495 /autotests/testolmaccount.cpp | |
parent | bc1ded73bedf593acda80b00eb7da32f688c4843 (diff) | |
download | libquotient-2ff045d8b381bfbd64100d083f81b61c5fe87b23.tar.gz libquotient-2ff045d8b381bfbd64100d083f81b61c5fe87b23.zip |
Wrap error reporting into facility macros
Facility macros to report Olm errors: QOLM_INTERNAL_ERROR[_X],
QOLM_FAIL_OR_LOG[_X]
Diffstat (limited to 'autotests/testolmaccount.cpp')
-rw-r--r-- | autotests/testolmaccount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp index 0e1eab84..56532698 100644 --- a/autotests/testolmaccount.cpp +++ b/autotests/testolmaccount.cpp @@ -23,7 +23,7 @@ void TestOlmAccount::pickleUnpickledTest() QOlmAccount olmAccount(QStringLiteral("@foo:bar.com"), QStringLiteral("QuotientTestDevice")); olmAccount.createNewAccount(); auto identityKeys = olmAccount.identityKeys(); - auto pickled = olmAccount.pickle(Unencrypted{}).value(); + auto pickled = olmAccount.pickle(Unencrypted{}); QOlmAccount olmAccount2(QStringLiteral("@foo:bar.com"), QStringLiteral("QuotientTestDevice")); auto unpickleResult = olmAccount2.unpickle(std::move(pickled), Unencrypted{}); |