Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Adrian Samfira <[email protected]>
  • Loading branch information
gabriel-samfira committed Jun 18, 2024
1 parent 98b8d04 commit 992411a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,12 @@ func TestCreateInstanceError(t *testing.T) {
Region: "us-east-1",
SubnetID: "subnet-123456",
Credentials: config.Credentials{
AccessKeyID: "accessKey",
SecretAccessKey: "secretKey",
SessionToken: "token",
CredentialType: config.AWSCredentialTypeStatic,
StaticCredentials: config.StaticCredentials{
AccessKeyID: "accessKey",
SecretAccessKey: "secretKey",
SessionToken: "token",
},
},
}
mockComputeClient := new(client.MockComputeClient)
Expand Down

0 comments on commit 992411a

Please sign in to comment.