Skip to content

Commit e7e72f8

Browse files
author
Amarthya Valija
committed
Fix test case for Security context enforcement
1 parent 25270fc commit e7e72f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

osde2e/managed_cluster_validating_webhooks_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ var _ = Describe("Managed Cluster Validating Webhooks", Ordered, func() {
135135
Expect(err).NotTo(HaveOccurred())
136136
})
137137

138-
139-
func boolPtr(b bool) *bool {
140-
return &b
141-
}
142-
143138
Describe("sre-pod-validation", Ordered, func() {
144139
const (
145140
privilegedNamespace = "openshift-backplane"
@@ -637,3 +632,8 @@ var _ = Describe("Managed Cluster Validating Webhooks", Ordered, func() {
637632
})
638633
})
639634
})
635+
636+
// Helper function to create a pointer to a bool
637+
func boolPtr(b bool) *bool {
638+
return &b
639+
}

0 commit comments

Comments
 (0)