mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-11 17:48:44 -05:00
test: update expected task index after adding task #47 fixture
Task #47 in project 1 has index 32, so the next auto-assigned index is now 33 instead of 18.
This commit is contained in:
@@ -54,7 +54,7 @@ func TestTask_Create(t *testing.T) {
|
||||
assert.NotEmpty(t, task.UID)
|
||||
// Assert getting a new index
|
||||
assert.NotEmpty(t, task.Index)
|
||||
assert.Equal(t, int64(18), task.Index)
|
||||
assert.Equal(t, int64(33), task.Index)
|
||||
err = s.Commit()
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user