From 5c1a20c4dacfe03db90b70c2665e66a76574196c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 3 Feb 2018 19:33:05 +0100 Subject: Add seed function, not yet finished --- tests/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3