aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-02-15 18:10:34 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commit97f2d162618e7fb2473c184c77875ac9d5e8d1d5 (patch)
tree4d8227987acdeaac23e081e6c7ae258f0b37251c /autotests
parente9527012622497b0c418df9442180df58401d394 (diff)
downloadlibquotient-97f2d162618e7fb2473c184c77875ac9d5e8d1d5.tar.gz
libquotient-97f2d162618e7fb2473c184c77875ac9d5e8d1d5.zip
Apply a few more comments
Diffstat (limited to 'autotests')
-rw-r--r--autotests/testolmaccount.cpp4
-rw-r--r--autotests/testolmaccount.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp
index 4eed1980..8129ae5b 100644
--- a/autotests/testolmaccount.cpp
+++ b/autotests/testolmaccount.cpp
@@ -9,7 +9,7 @@
using namespace Quotient;
-void TestOlmAccount::pickleUnpickedTest()
+void TestOlmAccount::pickleUnpickledTest()
{
QOlmAccount olmAccount(QStringLiteral("@foo:bar.com"), QStringLiteral("QuotientTestDevice"));
olmAccount.createNewAccount();
@@ -73,7 +73,7 @@ void TestOlmAccount::deviceKeys()
{
// copied from mtxclient
DeviceKeys device1;
- device1.userId = "@alice:example.com";
+ device1.userId = "@alice:example.com";
device1.deviceId = "JLAFKJWSCS";
device1.keys = {{"curve25519:JLAFKJWSCS", "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI"},
{"ed25519:JLAFKJWSCS", "lEuiRJBit0IG6nUf5pUzWTUEsRVVe/HJkoKuEww9ULI"}};
diff --git a/autotests/testolmaccount.h b/autotests/testolmaccount.h
index b6b9cae4..97fbca18 100644
--- a/autotests/testolmaccount.h
+++ b/autotests/testolmaccount.h
@@ -15,7 +15,7 @@ class TestOlmAccount : public QObject
private Q_SLOTS:
- void pickleUnpickedTest();
+ void pickleUnpickledTest();
void identityKeysValid();
void signatureValid();
void oneTimeKeysValid();