Vendor aws-sdk-go (dep ensure) (#178)
This commit is contained in:
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sts/client.go
generated
vendored
Normal file
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sts/client.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// +build integration
|
||||
|
||||
//Package sts provides gucumber integration tests support.
|
||||
package sts
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/sts"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@sts", func() {
|
||||
gucumber.World["client"] = sts.New(smoke.Session)
|
||||
})
|
||||
}
|
||||
17
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sts/sts.feature
generated
vendored
Normal file
17
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sts/sts.feature
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# language: en
|
||||
@sts @client
|
||||
Feature: AWS STS
|
||||
|
||||
Scenario: Making a request
|
||||
When I call the "GetSessionToken" API
|
||||
Then the response should contain a "Credentials"
|
||||
|
||||
Scenario: Handling errors
|
||||
When I attempt to call the "GetFederationToken" API with:
|
||||
| Name | temp |
|
||||
| Policy | |
|
||||
Then I expect the response error code to be "InvalidParameter"
|
||||
And I expect the response error message to include:
|
||||
"""
|
||||
Policy
|
||||
"""
|
||||
Reference in New Issue
Block a user