mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Fix test: Status must be INSTRUCTION_EVAL.
This test runs on an empty database. That also means that there is no ID in the database which is needed to detect the update. An empty ID means that the status must be evaluated.
This commit is contained in:
parent
407b87c17b
commit
4eb1ae7853
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ START_TEST (check_csync_detect_update_db_none)
|
|||
|
||||
/* the instruction should be set to new */
|
||||
st = c_rbtree_node_data(csync->local.tree->root);
|
||||
fail_unless(st->instruction == CSYNC_INSTRUCTION_NONE, "instruction is %s", csync_instruction_str(st->instruction));
|
||||
fail_unless(st->instruction == CSYNC_INSTRUCTION_EVAL, "instruction is %s", csync_instruction_str(st->instruction));
|
||||
|
||||
/* set the instruction to UPDATED that it gets written to the statedb */
|
||||
st->instruction = CSYNC_INSTRUCTION_UPDATED;
|
||||
|
|
Loading…
Reference in a new issue