aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-02-03 19:33:05 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commit5c1a20c4dacfe03db90b70c2665e66a76574196c (patch)
tree5d2d418f7ac0f84aba8439e75683b1f53f053465 /tests
parent1c7e6e074155499155adbbb651db1c66f1762ba2 (diff)
Add seed function, not yet finished
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp2
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);