File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
internal/controller/state/conditions Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 55
66 . "github.com/onsi/gomega"
77 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
8- "sigs.k8s.io/gateway-api/apis/v1alpha2"
98)
109
1110func TestDeduplicateConditions (t * testing.T ) {
@@ -146,15 +145,3 @@ func TestHasMatchingCondition(t *testing.T) {
146145 })
147146 }
148147}
149-
150- func TestNewPolicyAncestorLimitReached (t * testing.T ) {
151- t .Parallel ()
152- g := NewWithT (t )
153-
154- condition := NewPolicyAncestorLimitReached ()
155-
156- g .Expect (condition .Type ).To (Equal (string (v1alpha2 .PolicyConditionAccepted )))
157- g .Expect (condition .Status ).To (Equal (metav1 .ConditionFalse ))
158- g .Expect (condition .Reason ).To (Equal (string (PolicyReasonAncestorLimitReached )))
159- g .Expect (condition .Message ).To (Equal (PolicyMessageAncestorLimitReached ))
160- }
You can’t perform that action at this time.
0 commit comments