Skip to content

Commit

Permalink
fix: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Aug 16, 2024
1 parent 8beb4cd commit 36c4524
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/config_relationship_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ var _ = ginkgo.Describe("Config relationship Kubernetes", ginkgo.Ordered, func()

})

ginkgo.AfterAll(func() {
Expect(DefaultContext.DB().Exec("DELETE FROM config_items WHERE tags->>'namespace' = ?", "test-related-ids").Error).To(BeNil())
})

ginkgo.It("should return deployment outgoing", func() {
relatedConfigs, err := query.GetRelatedConfigs(DefaultContext, query.RelationQuery{ID: deployment.ID, Relation: query.Outgoing})

Expand Down

0 comments on commit 36c4524

Please sign in to comment.