File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/MysqlMq/Test/Unit/Model/ResourceModel Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -291,12 +291,15 @@ function ($arg1, $arg2) use ($tableNames) {
291
291
$ select ->expects ($ this ->once ())->method ('distinct ' )->willReturnSelf ();
292
292
$ select ->expects ($ this ->once ())
293
293
->method ('assemble ' )
294
- ->willReturn ('SELECT message_id FROM queue_message_status WHERE status = ' . QueueManagement::MESSAGE_STATUS_TO_BE_DELETED );
294
+ ->willReturn (
295
+ 'SELECT message_id FROM queue_message_status WHERE status = ' .
296
+ QueueManagement::MESSAGE_STATUS_TO_BE_DELETED );
295
297
296
298
$ connection ->expects ($ this ->once ())->method ('delete ' )
297
299
->with (
298
300
$ tableNames [1 ],
299
- 'id NOT IN (SELECT message_id FROM queue_message_status WHERE status = ' . QueueManagement::MESSAGE_STATUS_TO_BE_DELETED . ') '
301
+ 'id NOT IN (SELECT message_id FROM queue_message_status WHERE status = ' .
302
+ QueueManagement::MESSAGE_STATUS_TO_BE_DELETED . ') '
300
303
)->willReturn (2 );
301
304
$ this ->queue ->deleteMarkedMessages ();
302
305
}
You can’t perform that action at this time.
0 commit comments