fix(tasks): test
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
3a9757632b
commit
01bd4ccf7a
|
@ -263,11 +263,11 @@ func TestTask_Update(t *testing.T) {
|
||||||
assert.Equal(t, int64(1), task.BucketID) // Bucket should not be updated
|
assert.Equal(t, int64(1), task.BucketID) // Bucket should not be updated
|
||||||
|
|
||||||
db.AssertExists(t, "tasks", map[string]interface{}{
|
db.AssertExists(t, "tasks", map[string]interface{}{
|
||||||
"id": 28,
|
"id": 28,
|
||||||
"done": false,
|
"done": false,
|
||||||
"title": "test updated",
|
"title": "test updated",
|
||||||
"list_id": 1,
|
"project_id": 1,
|
||||||
"bucket_id": 1,
|
"bucket_id": 1,
|
||||||
}, false)
|
}, false)
|
||||||
})
|
})
|
||||||
t.Run("default bucket when moving a task between projects", func(t *testing.T) {
|
t.Run("default bucket when moving a task between projects", func(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue