File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Messenger/Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public function testWorkerDispatchesEventsOnSuccess()
188
188
$ eventDispatcher ->expects ($ this ->exactly (5 ))
189
189
->method ('dispatch ' )
190
190
->willReturnCallback (function ($ event ) use (&$ series ) {
191
- array_shift ($ series )->evaluate ($ event, '' , true );
191
+ array_shift ($ series )->evaluate ($ event );
192
192
193
193
if ($ event instanceof WorkerRunningEvent) {
194
194
$ event ->getWorker ()->stop ();
@@ -223,7 +223,7 @@ public function testWorkerDispatchesEventsOnError()
223
223
$ eventDispatcher ->expects ($ this ->exactly (5 ))
224
224
->method ('dispatch ' )
225
225
->willReturnCallback (function ($ event ) use (&$ series ) {
226
- array_shift ($ series )->evaluate ($ event, '' , true );
226
+ array_shift ($ series )->evaluate ($ event );
227
227
228
228
if ($ event instanceof WorkerRunningEvent) {
229
229
$ event ->getWorker ()->stop ();
You can’t perform that action at this time.
0 commit comments