Skip to content

Commit a7675b3

Browse files
committed
Fix tests
1 parent 97efe9d commit a7675b3

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

aws/client_test.go

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ func Test_getBaseConfig(t *testing.T) {
2828
Region: "us-east-1",
2929
},
3030
Expected: &awsbase.Config{
31-
AccessKey: "AWS_ACCESS_KEY",
32-
SecretKey: "AWS_SECRET_KEY",
33-
Region: "us-east-1",
31+
AccessKey: "AWS_ACCESS_KEY",
32+
SecretKey: "AWS_SECRET_KEY",
33+
Region: "us-east-1",
34+
CallerDocumentationURL: "https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/deep_checking.md",
35+
CallerName: "tflint-ruleset-aws",
3436
},
3537
},
3638
{
@@ -41,9 +43,11 @@ func Test_getBaseConfig(t *testing.T) {
4143
Region: "us-east-1",
4244
},
4345
Expected: &awsbase.Config{
44-
Profile: "default",
45-
CredsFilename: filepath.Join(home, ".aws", "creds"),
46-
Region: "us-east-1",
46+
Profile: "default",
47+
CredsFilename: filepath.Join(home, ".aws", "creds"),
48+
Region: "us-east-1",
49+
CallerDocumentationURL: "https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/deep_checking.md",
50+
CallerName: "tflint-ruleset-aws",
4751
},
4852
},
4953
}

0 commit comments

Comments
 (0)