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 e3e53eb commit 83fbeb0Copy full SHA for 83fbeb0
Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php
@@ -177,9 +177,9 @@ public function testItCountsMessagesInQueue()
177
178
$sender = new AmqpSender($connection, $serializer);
179
180
- $sender->send($first = new Envelope(new DummyMessage('First')));
181
- $sender->send($second = new Envelope(new DummyMessage('Second')));
182
- $sender->send($second = new Envelope(new DummyMessage('Third')));
+ $sender->send(new Envelope(new DummyMessage('First')));
+ $sender->send(new Envelope(new DummyMessage('Second')));
+ $sender->send(new Envelope(new DummyMessage('Third')));
183
184
sleep(1); // give amqp a moment to have the messages ready
185
$this->assertSame(3, $connection->countMessagesInQueue());
0 commit comments