diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-02-03 19:33:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:12 +0200 |
commit | 5c1a20c4dacfe03db90b70c2665e66a76574196c (patch) | |
tree | 5d2d418f7ac0f84aba8439e75683b1f53f053465 /tests | |
parent | 1c7e6e074155499155adbbb651db1c66f1762ba2 (diff) |
Add seed function, not yet finished
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index 2618d18..5ddcbe9 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -10,9 +10,9 @@ int main() // TODO: For tests, dont run against bootstrap.ring.cx. // Run against a bootstrap node made only for testing which doesn't persist added data. Database database("bootstrap.ring.cx", 4222); + database.seed(); LocalUser *localUser = LocalUser::create("dec05eba"); - Group group("admin"); group.addUser(localUser); database.create("galax.channel.latenight.chat", &group); |