Skip to content

Commit 68e7f62

Browse files
committed
Fix AWS SDK token parameter
1 parent a115d66 commit 68e7f62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/sns/Tests/SnsClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
1616
$awsClient = (new Sdk(['Sns' => [
1717
'key' => '',
1818
'secret' => '',
19-
'token' => '',
19+
'token' => false,
2020
'region' => '',
2121
'version' => '2010-03-31',
2222
'endpoint' => 'http://localhost',
@@ -32,7 +32,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
3232
$awsClient = (new Sdk(['Sns' => [
3333
'key' => '',
3434
'secret' => '',
35-
'token' => '',
35+
'token' => false,
3636
'region' => '',
3737
'version' => '2010-03-31',
3838
'endpoint' => 'http://localhost',

pkg/sqs/Tests/SqsClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
1616
$awsClient = (new Sdk(['Sqs' => [
1717
'key' => '',
1818
'secret' => '',
19-
'token' => '',
19+
'token' => false,
2020
'region' => '',
2121
'version' => '2012-11-05',
2222
'endpoint' => 'http://localhost',
@@ -32,7 +32,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
3232
$awsClient = (new Sdk(['Sqs' => [
3333
'key' => '',
3434
'secret' => '',
35-
'token' => '',
35+
'token' => false,
3636
'region' => '',
3737
'version' => '2012-11-05',
3838
'endpoint' => 'http://localhost',

0 commit comments

Comments
 (0)