Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function testConnect() |
||
34 | { |
||
35 | $connection = new SqsQueueStoreConnection([ |
||
36 | 'key' => 'AKIAxxxxxxxxxxxxxxxZ', |
||
37 | 'secret' => 'AxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxZ', |
||
38 | 'region' => 'eu-north-99', |
||
39 | ]); |
||
40 | |||
41 | $this->assertSame($connection, $connection->connect()); |
||
42 | $this->assertTrue($connection->getInstance() instanceof SqsClient); |
||
43 | } |
||
44 | } |
||
45 |