File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Messenger/Tests/Transport/AmqpExt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,9 @@ public function testItCountsMessagesInQueue()
177
177
178
178
$ sender = new AmqpSender ($ connection , $ serializer );
179
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 ' )));
180
+ $ sender ->send (new Envelope (new DummyMessage ('First ' )));
181
+ $ sender ->send (new Envelope (new DummyMessage ('Second ' )));
182
+ $ sender ->send (new Envelope (new DummyMessage ('Third ' )));
183
183
184
184
sleep (1 ); // give amqp a moment to have the messages ready
185
185
$ this ->assertSame (3 , $ connection ->countMessagesInQueue ());
You can’t perform that action at this time.
0 commit comments