Skip to content

Commit 9c7aa7f

Browse files
committed
Update sqs transport factory with missing endpoint parameter
1 parent f58729b commit 9c7aa7f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎pkg/sqs/Symfony/SqsTransportFactory.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function addConfiguration(ArrayNodeDefinition $builder)
4444
->defaultTrue()
4545
->info('the connection will be performed as later as possible, if the option set to true')
4646
->end()
47+
->scalarNode('endpoint')->defaultNull()->end()
4748
;
4849
}
4950

‎pkg/sqs/Tests/Symfony/SqsTransportFactoryTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function testShouldAllowAddConfiguration()
5252
'retries' => 5,
5353
'version' => 'theVersion',
5454
'lazy' => false,
55+
'endpoint' => 'theEndpoint',
5556
]]);
5657

5758
$this->assertEquals([
@@ -62,6 +63,7 @@ public function testShouldAllowAddConfiguration()
6263
'retries' => 5,
6364
'version' => 'theVersion',
6465
'lazy' => false,
66+
'endpoint' => 'theEndpoint',
6567
], $config);
6668
}
6769

0 commit comments

Comments
 (0)