File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 1111// limitations under the License.
1212
1313package apiv2
14-
15- import (
16- . "github.com/onsi/ginkgo/v2"
17- "k8s.io/apimachinery/pkg/types"
18-
19- "github.com/apache/apisix-ingress-controller/test/e2e/framework"
20- "github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
21- )
22-
23- var _ = Describe ("Test ApisixConsumer" , func () {
24- var (
25- s = scaffold .NewDefaultScaffold ()
26- applier = framework .NewApplier (s .GinkgoT , s .K8sClient , s .CreateResourceFromString )
27- )
28- Context ("Test ApisixConsumer" , func () {
29- It ("Test ApisixConsumer" , func () {
30- var apisixConsumerSpec = `
31- apiVersion: apisix.apache.org/v2
32- kind: ApisixConsumer
33- metadata:
34- name: defaultapisixconsumer
35- spec:
36- authParameter:
37- basicAuth:
38- value:
39- username: jack
40- password: jack-password
41- `
42- applier .MustApplyApisixConsumer (types.NamespacedName {Name : "defaultapisixconsumer" , Namespace : s .Namespace ()}, apisixConsumerSpec )
43- })
44- })
45- })
You can’t perform that action at this time.
0 commit comments