File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/MysqlMq/Test/Unit/Model/ResourceModel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -291,12 +291,12 @@ 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 = 7 ' );
294
+ ->willReturn ('SELECT message_id FROM queue_message_status WHERE status = ' . QueueManagement:: MESSAGE_STATUS_TO_BE_DELETED );
295
295
296
296
$ connection ->expects ($ this ->once ())->method ('delete ' )
297
297
->with (
298
298
$ tableNames [1 ],
299
- 'id NOT IN (SELECT message_id FROM queue_message_status WHERE status = 7 ) '
299
+ 'id NOT IN (SELECT message_id FROM queue_message_status WHERE status = ' . QueueManagement:: MESSAGE_STATUS_TO_BE_DELETED . ' ) '
300
300
)->willReturn (2 );
301
301
$ this ->queue ->deleteMarkedMessages ();
302
302
}
You can’t perform that action at this time.
0 commit comments