mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-16 17:33:14 +00:00
Add all dependency of go-getter
This commit is contained in:
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/waf/client.go
generated
vendored
Normal file
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/waf/client.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// +build integration
|
||||
|
||||
//Package waf provides gucumber integration tests support.
|
||||
package waf
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/waf"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@waf", func() {
|
||||
gucumber.World["client"] = waf.New(smoke.Session)
|
||||
})
|
||||
}
|
||||
20
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/waf/waf.feature
generated
vendored
Normal file
20
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/waf/waf.feature
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# language: en
|
||||
@waf
|
||||
Feature: AWS WAF
|
||||
|
||||
Scenario: Making a request
|
||||
When I call the "ListRules" API with JSON:
|
||||
"""
|
||||
{"Limit":20}
|
||||
"""
|
||||
Then the value at "Rules" should be a list
|
||||
|
||||
Scenario: Handling errors
|
||||
When I attempt to call the "CreateSqlInjectionMatchSet" API with:
|
||||
| Name | fake_name |
|
||||
| ChangeToken | fake_token |
|
||||
Then I expect the response error code to be "WAFStaleDataException"
|
||||
And I expect the response error message to include:
|
||||
"""
|
||||
The input token is no longer current
|
||||
"""
|
||||
Reference in New Issue
Block a user