Skip to content

Commit

Permalink
aws - sqs - added token examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eitam-ring committed Sep 1, 2020
1 parent 593bee5 commit f6cf145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions targets/aws/sqs/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func TestClient_Init(t *testing.T) {
Properties: map[string]string{
"aws_key": dat.awsKey,
"aws_secret_key": dat.awsSecretKey,
"token": dat.token,
"region": dat.region,
"max_retries": "0",
"max_receive": "10",
Expand All @@ -85,6 +86,7 @@ func TestClient_Init(t *testing.T) {
Properties: map[string]string{
"aws_key": dat.awsKey,
"aws_secret_key": dat.awsSecretKey,
"token": dat.token,
"region": "",
"max_retries": "0",
},
Expand All @@ -98,6 +100,7 @@ func TestClient_Init(t *testing.T) {
Properties: map[string]string{
"aws_key": "",
"aws_secret_key": dat.awsSecretKey,
"token": dat.token,
"queue": dat.sqsQueue,
"region": dat.region,
"max_retries": "0",
Expand All @@ -113,6 +116,7 @@ func TestClient_Init(t *testing.T) {
Properties: map[string]string{
"aws_key": dat.awsKey,
"aws_secret_key": "",
"token": dat.token,
"region": dat.region,
"max_retries": "0",
},
Expand Down

0 comments on commit f6cf145

Please sign in to comment.