Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
Remove unused args for two test cases (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored Feb 25, 2019
1 parent 6bea48f commit 2864a4b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/suite.bats
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ teardown() {
@test "with outputs.use_aws_iam_authenticator" {
run assets/out <<< "$(jq -n '{"source": {"use_aws_iam_authenticator": true, "aws_eks_cluster_name": "eks-cluster01", "server": $server, "token": $token}, "params": {"kubectl": "get po"}}' \
--arg server "$server" \
--arg token "$token" \
--arg kubectl "get po nginx")"
--arg token "$token")"
assert_not_match 'did not find expected key' "$output"
}

@test "with outputs.aws_eks_assume_role" {
run assets/out <<< "$(jq -n '{"source": {"use_aws_iam_authenticator": true, "aws_eks_cluster_name": "eks-cluster01", "aws_eks_assume_role": "arn:role", "server": $server, "token": $token}, "params": {"kubectl": "get po"}}' \
--arg server "$server" \
--arg token "$token" \
--arg kubectl "get po nginx")"
--arg token "$token")"
assert_not_match 'did not find expected key' "$output"
}

Expand Down

0 comments on commit 2864a4b

Please sign in to comment.