@@ -13,7 +13,7 @@ import (
1313var _ = Describe ("Test Consumer" , func () {
1414 s := scaffold .NewDefaultScaffold ()
1515
16- var defautlGatewayClass = `
16+ var defaultGatewayClass = `
1717apiVersion: gateway.networking.k8s.io/v1
1818kind: GatewayClass
1919metadata:
2222 controllerName: %s
2323`
2424
25- var defautlGateway = `
25+ var defaultGateway = `
2626apiVersion: gateway.networking.k8s.io/v1
2727kind: Gateway
2828metadata:
7878 var beforeEachHTTP = func () {
7979 By ("create GatewayClass" )
8080 gatewayClassName := fmt .Sprintf ("api7-%d" , time .Now ().Unix ())
81- gatewayString := fmt .Sprintf (defautlGatewayClass , gatewayClassName , s .GetControllerName ())
81+ gatewayString := fmt .Sprintf (defaultGatewayClass , gatewayClassName , s .GetControllerName ())
8282 err := s .CreateResourceFromStringWithNamespace (gatewayString , "" )
8383 Expect (err ).NotTo (HaveOccurred (), "creating GatewayClass" )
8484 time .Sleep (5 * time .Second )
9393 )
9494
9595 By ("create Gateway" )
96- err = s .CreateResourceFromString (fmt .Sprintf (defautlGateway , gatewayClassName ))
96+ err = s .CreateResourceFromString (fmt .Sprintf (defaultGateway , gatewayClassName ))
9797 Expect (err ).NotTo (HaveOccurred (), "creating Gateway" )
9898 time .Sleep (5 * time .Second )
9999
@@ -310,5 +310,12 @@ spec:
310310 })
311311
312312 PContext ("SecretRef" , func () {
313+ PIT ("key-auth" , func () {
314+ })
315+ PIT ("basic-auth" , func () {
316+ })
317+ PIT ("cross namespace" , func () {
318+ })
319+
313320 })
314321})
0 commit comments