File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
pkg/controllers/openapi/aggregator Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ func TestAPIServiceOpenAPIServiceMismatch(t *testing.T) {
210
210
expectPath (t , swagger , "/apis/apiservicegroup/v1" )
211
211
expectPath (t , swagger , "/apis/apiservicegroup/v2" )
212
212
expectPath (t , swagger , "/apis/apiregistration.k8s.io/v1" )
213
+ expectNoPath (t , swagger , "/apis/a" )
213
214
214
215
t .Logf ("Remove APIService %s" , apiService .Name )
215
216
s .RemoveAPIService (apiService .Name )
@@ -221,6 +222,7 @@ func TestAPIServiceOpenAPIServiceMismatch(t *testing.T) {
221
222
// Ensure that the if the APIService is added then removed, the OpenAPI disappears from the aggregated OpenAPI as well.
222
223
expectNoPath (t , swagger , "/apis/apiservicegroup/v1" )
223
224
expectPath (t , swagger , "/apis/apiregistration.k8s.io/v1" )
225
+ expectNoPath (t , swagger , "/apis/a" )
224
226
}
225
227
226
228
func TestAddRemoveAPIService (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments