From bb25a3397b7a0429a283c288d3f9baacd2c64bf3 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 12 Jul 2024 14:21:46 +0200 Subject: [PATCH] fix(kanban): use correct assertion in the test --- pkg/models/kanban_task_bucket_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/kanban_task_bucket_test.go b/pkg/models/kanban_task_bucket_test.go index 54e554ebd..8ade9a9e1 100644 --- a/pkg/models/kanban_task_bucket_test.go +++ b/pkg/models/kanban_task_bucket_test.go @@ -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,