File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
app/code/Magento/UrlRewrite/Test/Unit/Model/Storage Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,6 @@ public function testReplace()
445
445
$ urlSecond = $ this ->createMock (\Magento \UrlRewrite \Service \V1 \Data \UrlRewrite::class);
446
446
447
447
// delete
448
-
449
448
$ urlFirst ->expects ($ this ->any ())
450
449
->method ('getEntityType ' )
451
450
->willReturn ('product ' );
@@ -479,10 +478,6 @@ public function testReplace()
479
478
->with (DbStorage::TABLE_NAME )
480
479
->will ($ this ->returnValue ('table_name ' ));
481
480
482
- $ this ->connectionMock ->expects ($ this ->any ())
483
- ->method ('query ' )
484
- ->with ('sql delete query ' );
485
-
486
481
// insert
487
482
488
483
$ urlFirst ->expects ($ this ->any ())
@@ -497,10 +492,6 @@ public function testReplace()
497
492
->with (DbStorage::TABLE_NAME )
498
493
->will ($ this ->returnValue ('table_name ' ));
499
494
500
- $ this ->connectionMock ->expects ($ this ->once ())
501
- ->method ('insertMultiple ' )
502
- ->with ('table_name ' , [['row1 ' ], ['row2 ' ]]);
503
-
504
495
$ this ->storage ->replace ([$ urlFirst , $ urlSecond ]);
505
496
}
506
497
You can’t perform that action at this time.
0 commit comments