diff --git a/handlers/bounty_test.go b/handlers/bounty_test.go index c803c0de4..e2d980d29 100644 --- a/handlers/bounty_test.go +++ b/handlers/bounty_test.go @@ -1202,6 +1202,8 @@ func TestGetAllBounties(t *testing.T) { t.Run("Should successfully return all bounties", func(t *testing.T) { now := time.Now().Unix() + db.TestDB.DeleteAllBounties() + // Create a public bounty publicBounty := db.NewBounty{ Type: "coding", @@ -1249,6 +1251,8 @@ func TestGetAllBounties(t *testing.T) { t.Run("Should successfully return only public bounties", func(t *testing.T) { now := time.Now().Unix() + db.TestDB.DeleteAllBounties() + // Create a public bounty publicBounty := db.NewBounty{ Type: "coding",