Skip to content

Commit 44fcc48

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-97210: Add Product by SKU to category causes the browser to hang
1 parent 7b1cbe5 commit 44fcc48

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/code/Magento/UrlRewrite/Test/Unit/Model/Storage/DbStorageTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ public function testReplace()
445445
$urlSecond = $this->createMock(\Magento\UrlRewrite\Service\V1\Data\UrlRewrite::class);
446446

447447
// delete
448-
449448
$urlFirst->expects($this->any())
450449
->method('getEntityType')
451450
->willReturn('product');
@@ -479,10 +478,6 @@ public function testReplace()
479478
->with(DbStorage::TABLE_NAME)
480479
->will($this->returnValue('table_name'));
481480

482-
$this->connectionMock->expects($this->any())
483-
->method('query')
484-
->with('sql delete query');
485-
486481
// insert
487482

488483
$urlFirst->expects($this->any())
@@ -497,10 +492,6 @@ public function testReplace()
497492
->with(DbStorage::TABLE_NAME)
498493
->will($this->returnValue('table_name'));
499494

500-
$this->connectionMock->expects($this->once())
501-
->method('insertMultiple')
502-
->with('table_name', [['row1'], ['row2']]);
503-
504495
$this->storage->replace([$urlFirst, $urlSecond]);
505496
}
506497

0 commit comments

Comments
 (0)