Skip to content

Commit 5e834d7

Browse files
author
Slabko,Michael(mslabko)
committed
Merge pull request #17 from magento-firedrakes/MAGETWO-49079
[Firedrakes] Bugfix MAGETWO-49079: Fix L1 StoresFixtureTest
2 parents 0391c57 + 9190d33 commit 5e834d7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup/src/Magento/Setup/Test/Unit/Fixtures/StoresFixtureTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,20 @@ public function testExecute()
7575
$categoryMock = $this->getMock(
7676
'Magento\Catalog\Model\Category',
7777
[
78-
'setId',
7978
'setName',
8079
'setPath',
8180
'setLevel',
8281
'setAvailableSortBy',
8382
'setDefaultSortBy',
8483
'setIsActive',
8584
'getId',
86-
'save'
85+
'save',
86+
'load'
8787
],
8888
[],
8989
'',
9090
false
9191
);
92-
$categoryMock->expects($this->once())
93-
->method('setId')
94-
->willReturnSelf();
9592
$categoryMock->expects($this->once())
9693
->method('setName')
9794
->willReturnSelf();

0 commit comments

Comments
 (0)