diff --git a/pkg/models/project_test.go b/pkg/models/project_test.go index 866bd50e624..22d598280d1 100644 --- a/pkg/models/project_test.go +++ b/pkg/models/project_test.go @@ -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)