Skip to content

Commit c1e6d2d

Browse files
committed
update: reconnect tests
1 parent e67d4fc commit c1e6d2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Functional/TestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,11 @@ public function testReconnect(): void
258258
$this->assertTrue($queue->getConnection()->isConnected());
259259
$this->assertSame($channel, $this->callProperty($queue, 'channel'));
260260

261-
// reconnect
261+
// close
262262
$queue->getConnection()->close();
263263
$this->assertFalse($queue->getConnection()->isConnected());
264+
265+
// reconnect
264266
$this->callMethod($queue, 'reconnect');
265267
$this->assertTrue($queue->getConnection()->isConnected());
266268
$this->assertTrue($queue->getChannel()->is_open());

0 commit comments

Comments
 (0)