File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ spec:
173173 })
174174
175175 Context ("HTTPRoute Base" , func () {
176-
177176 var exactRouteByGet = `
178177apiVersion: gateway.networking.k8s.io/v1
179178kind: HTTPRoute
@@ -228,10 +227,10 @@ spec:
228227 By ("create HTTPRoute" )
229228 ResourceApplied ("HTTPRoute" , "httpbin" , exactRouteByGet , 1 )
230229
231- By ("access dataplane to check the HTTPRoute" )
232- s .NewAPISIXHttpsClient ( "api6.com" ).
230+ By ("access daataplane to check the HTTPRoute" )
231+ s .NewAPISIXClient ( ).
233232 GET ("/get" ).
234- WithHost ("api6.com " ).
233+ WithHost ("httpbin.example " ).
235234 Expect ().
236235 Status (200 )
237236
@@ -240,9 +239,9 @@ spec:
240239 Expect (err ).NotTo (HaveOccurred (), "deleting Gateway" )
241240 time .Sleep (5 * time .Second )
242241
243- s .NewAPISIXHttpsClient ( "api6.com" ).
242+ s .NewAPISIXClient ( ).
244243 GET ("/get" ).
245- WithHost ("api6.com " ).
244+ WithHost ("httpbin.example " ).
246245 Expect ().
247246 Status (404 )
248247 })
You can’t perform that action at this time.
0 commit comments