Skip to content

Commit 84aec76

Browse files
committed
fix: update test cloudsync_network_sync call to include parameters to avoid test failing
1 parent d00c52f commit 84aec76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ int test_init (const char *db_path, int init) {
196196
snprintf(sql, sizeof(sql), "INSERT INTO users (id, name) VALUES ('%s', '%s');", value, value);
197197
rc = db_exec(db, sql); RCHECK
198198
rc = db_expect_int(db, "SELECT COUNT(*) as count FROM users;", 1); RCHECK
199-
rc = db_expect_gt0(db, "SELECT cloudsync_network_sync();"); RCHECK
199+
rc = db_expect_gt0(db, "SELECT cloudsync_network_sync(250, 10);"); RCHECK
200200
rc = db_expect_gt0(db, "SELECT COUNT(*) as count FROM users;"); RCHECK
201201
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

0 commit comments

Comments
 (0)