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 5
5
6
6
. "github.com/onsi/gomega"
7
7
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
8
- "sigs.k8s.io/gateway-api/apis/v1alpha2"
9
8
)
10
9
11
10
func TestDeduplicateConditions (t * testing.T ) {
@@ -146,15 +145,3 @@ func TestHasMatchingCondition(t *testing.T) {
146
145
})
147
146
}
148
147
}
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