chore(test): add task deleted assertion to project deletion test
This commit is contained in:
parent
ad04d302af
commit
f5ac3abb2a
@ -261,6 +261,9 @@ func TestProject_Delete(t *testing.T) {
|
|||||||
db.AssertMissing(t, "projects", map[string]interface{}{
|
db.AssertMissing(t, "projects", map[string]interface{}{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
})
|
})
|
||||||
|
db.AssertMissing(t, "tasks", map[string]interface{}{
|
||||||
|
"id": 1,
|
||||||
|
})
|
||||||
})
|
})
|
||||||
t.Run("with background", func(t *testing.T) {
|
t.Run("with background", func(t *testing.T) {
|
||||||
db.LoadAndAssertFixtures(t)
|
db.LoadAndAssertFixtures(t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user