Skip to content

Commit

Permalink
[access_key_test.go] Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickLaMuro committed Aug 6, 2024
1 parent ec4ef7a commit f3cded3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/aws/access_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,14 +643,14 @@ func TestResolveLocalAnd1PasswordConfigurations(t *testing.T) {
description: "has region both in 1Password and local config, but values differ",
itemFields: map[sdk.FieldName]string{
fieldname.OneTimePassword: "515467",
fieldname.DefaultRegion: "us-east-2",
fieldname.Region: "us-east-2",
},
awsConfig: &confighelpers.Config{
ProfileName: "dev",
MfaSerial: "arn:aws:iam::123456789012:mfa/user",
Region: "us-east-1",
},
err: fmt.Errorf("your local AWS configuration (config file or environment variable) has a different default region than the one specified in 1Password"),
err: fmt.Errorf("your local AWS configuration (config file or environment variable) has a different region than the one specified in 1Password"),
},
} {
t.Run(scenario.description, func(t *testing.T) {
Expand Down

0 comments on commit f3cded3

Please sign in to comment.