fix(kanban): use correct assertion in the test
This commit is contained in:
parent
918c2224d8
commit
bb25a3397b
@ -145,7 +145,7 @@ func TestTaskBucket_Update(t *testing.T) {
|
|||||||
err = s.Commit()
|
err = s.Commit()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.False(t, tb.TaskDone)
|
assert.False(t, tb.TaskDone)
|
||||||
assert.Equal(t, int64(3), tb.BucketID) // This should be the actual bucket
|
assert.Equal(t, int64(1), tb.BucketID) // This should be the actual bucket
|
||||||
|
|
||||||
db.AssertExists(t, "tasks", map[string]interface{}{
|
db.AssertExists(t, "tasks", map[string]interface{}{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user