File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,11 @@ int test_init (const char *db_path, int init) {
194194 rc = db_expect_int (db , "SELECT COUNT(*) as count FROM users;" , 1 ); RCHECK
195195 if (init ){
196196 rc = db_exec (db , "SELECT cloudsync_network_sync();" ); RCHECK
197+ rc = db_expect_gt0 (db , "SELECT COUNT(*) as count FROM users;" ); RCHECK //tofix
198+ rc = db_expect_gt0 (db , "SELECT COUNT(*) as count FROM activities;" ); RCHECK //tofix
197199 } else {
198200 rc = db_expect_gt0 (db , "SELECT cloudsync_network_sync();" ); RCHECK
199201 }
200- rc = db_expect_gt0 (db , "SELECT COUNT(*) as count FROM users;" ); RCHECK
201- rc = db_expect_gt0 (db , "SELECT COUNT(*) as count FROM activities;" ); RCHECK
202202 rc = db_expect_int (db , "SELECT COUNT(*) as count FROM workouts;" , 0 ); RCHECK
203203 rc = db_exec (db , "SELECT cloudsync_terminate();" );
204204
You can’t perform that action at this time.
0 commit comments