Fix the bucket tests since we moved a task.

This commit is contained in:
Erwan Martin 2023-10-29 21:17:23 +01:00
parent 5313730752
commit 0ae46aa363
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func TestBucket_Delete(t *testing.T) {
tasks := []*Task{}
err = s.Where("bucket_id = ?", 1).Find(&tasks)
assert.NoError(t, err)
assert.Len(t, tasks, 16)
assert.Len(t, tasks, 15)
db.AssertMissing(t, "buckets", map[string]interface{}{
"id": 2,
"project_id": 1,