Skip to content

Commit a7b19ab

Browse files
committed
MAGETWO-70651: Saving category create not valid url-rewrites
1 parent c10c168 commit a7b19ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/code/Magento/CatalogUrlRewrite/Test/Unit/Model/CategoryProductUrlPathGeneratorTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ public function setUp()
3939

4040
public function testGenerationWithGlobalScope()
4141
{
42-
$categoryMock = $this->getMockBuilder(Category::class)
43-
->disableOriginalConstructor()
44-
->getMock();
4542
$categoryCollectionMock = $this->getMockBuilder(Collection::class)
4643
->disableOriginalConstructor()
4744
->getMock();
@@ -79,9 +76,6 @@ public function testGenerationWithGlobalScope()
7976

8077
public function testGenerationWithSpecificStore()
8178
{
82-
$categoryMock = $this->getMockBuilder(Category::class)
83-
->disableOriginalConstructor()
84-
->getMock();
8579
$categoryCollectionMock = $this->getMockBuilder(Collection::class)
8680
->disableOriginalConstructor()
8781
->getMock();

0 commit comments

Comments
 (0)