1
0

fix(kanban): use correct assertion in the test

This commit is contained in:
kolaente 2024-07-12 14:21:46 +02:00
parent 918c2224d8
commit bb25a3397b
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -145,7 +145,7 @@ func TestTaskBucket_Update(t *testing.T) {
err = s.Commit()
require.NoError(t, err)
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{}{
"id": 1,