fix(tasks): test
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2023-01-12 15:06:03 +01:00
parent 3a9757632b
commit 01bd4ccf7a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 5 deletions

View File

@ -263,11 +263,11 @@ func TestTask_Update(t *testing.T) {
assert.Equal(t, int64(1), task.BucketID) // Bucket should not be updated
db.AssertExists(t, "tasks", map[string]interface{}{
"id": 28,
"done": false,
"title": "test updated",
"list_id": 1,
"bucket_id": 1,
"id": 28,
"done": false,
"title": "test updated",
"project_id": 1,
"bucket_id": 1,
}, false)
})
t.Run("default bucket when moving a task between projects", func(t *testing.T) {