Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e3da4 commit 3f043adCopy full SHA for 3f043ad
pkg/sqs/Tests/SqsContextTest.php
@@ -328,12 +328,17 @@ public function testShouldAllowGetQueueArn()
328
'QueueUrl' => 'theQueueUrl',
329
'AttributeNames' => ['QueueArn'],
330
]))
331
- ->willReturn(new Result(['QueueArn' => 'theQueueArn']))
+ ->willReturn(new Result([
332
+ 'Attributes' => [
333
+ 'QueueArn' => 'theQueueArn',
334
+ ],
335
+ ]))
336
;
337
338
$context = new SqsContext($sqsClient, []);
339
340
$queue = $context->createQueue('aQueueName');
341
+ $queue->setRegion('theRegion');
342
343
$this->assertSame('theQueueArn', $context->getQueueArn($queue));
344
}
0 commit comments