aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksi Lindeman <aleksi_888@hotmail.com>2018-02-03 19:33:05 +0100
committerAleksi Lindeman <aleksi_888@hotmail.com>2018-02-03 19:33:11 +0100
commit28efc0068f47ec787791a07a63d720710068c095 (patch)
treebb831558de90002c8c774cd58220dbc0baeb7a12 /tests
parent6f1089db78f14b52b869f5aaa979e52ff5e4c2d7 (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);