1
0

fix(views): use correct assertion in test

This commit is contained in:
kolaente
2024-04-02 12:42:07 +02:00
parent 81fe8391e4
commit 8a6e3d5bd7
3 changed files with 13 additions and 17 deletions

View File

@ -216,10 +216,10 @@ func TestBucket_Delete(t *testing.T) {
err := b.Delete(s, u)
require.NoError(t, err)
db.AssertMissing(t, "project_views", map[string]interface{}{
db.AssertExists(t, "project_views", map[string]interface{}{
"id": b.ProjectViewID,
"done_bucket_id": 0,
})
}, false)
})
}