diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index 3f23b32..af3cf8d 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -137,7 +137,7 @@ int main() testHash(); testEncryption(); - LocalUser *localUser = LocalUser::create(Signature::KeyPair(), "dec05eba", nullptr, "secretPassword"); + LocalUser *localUser = LocalUser::create(Signature::KeyPair(), "dec05eba", nullptr); testSignData(localUser); // TODO: Setup local bootstrap node for tests @@ -158,7 +158,7 @@ int main() Log::debug("Add user callback"); }); - auto databaseCreateResponse = database.create("adminUserName", "secretPassword", "latenight"); + auto databaseCreateResponse = database.create("adminUserName", "latenight"); DatabaseNode databaseNode(databaseCreateResponse->getNodeEncryptionKey(), databaseCreateResponse->getRequestHash()); auto adminUser = (LocalUser*)databaseCreateResponse->getNodeAdminUser(); database.addData(databaseNode, adminUser, DataView{ (void*)"hello, world!", 13 }); |