From f5ac3abb2ad26c43e4116ff3278a81092c958ac8 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 3 Oct 2023 15:52:27 +0200 Subject: [PATCH] chore(test): add task deleted assertion to project deletion test --- pkg/models/project_test.go | 3 +++ 1 file changed, 3 insertions(+) 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)