chore(test): add task deleted assertion to project deletion test

This commit is contained in:
kolaente 2023-10-03 15:52:27 +02:00
parent ad04d302af
commit f5ac3abb2a
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -261,6 +261,9 @@ func TestProject_Delete(t *testing.T) {
db.AssertMissing(t, "projects", map[string]interface{}{
"id": 1,
})
db.AssertMissing(t, "tasks", map[string]interface{}{
"id": 1,
})
})
t.Run("with background", func(t *testing.T) {
db.LoadAndAssertFixtures(t)