Fixed TestUsers failing due to only adding a single user.

This commit is contained in:
Markus Makela 2015-01-08 13:48:29 +02:00
parent 094dfbd4f7
commit 2a02b2deba

View File

@ -72,6 +72,11 @@ int result, count;
skygw_log_sync_all();
ss_info_dassert(NULL != authdata, "Fetch valid user must not return NULL");
ss_info_dassert(0 == strcmp("newauth", authdata), "User authorisation should be correctly updated");
ss_dfprintf(stderr, "\t..done\nAdd another user");
count = users_add(users, "username2", "authorisation2");
skygw_log_sync_all();
ss_info_dassert(1 == count, "Should add one user");
ss_dfprintf(stderr, "\t..done\nDelete a user.");
count = users_delete(users, "username");
skygw_log_sync_all();