Skip to content
Snippets Groups Projects
Commit 5e834d73 authored by Slabko,Michael(mslabko)'s avatar Slabko,Michael(mslabko)
Browse files

Merge pull request #17 from magento-firedrakes/MAGETWO-49079

[Firedrakes] Bugfix MAGETWO-49079: Fix L1 StoresFixtureTest
parents 0391c57c 9190d339
Branches
No related merge requests found
...@@ -75,7 +75,6 @@ class StoresFixtureTest extends \PHPUnit_Framework_TestCase ...@@ -75,7 +75,6 @@ class StoresFixtureTest extends \PHPUnit_Framework_TestCase
$categoryMock = $this->getMock( $categoryMock = $this->getMock(
'Magento\Catalog\Model\Category', 'Magento\Catalog\Model\Category',
[ [
'setId',
'setName', 'setName',
'setPath', 'setPath',
'setLevel', 'setLevel',
...@@ -83,15 +82,13 @@ class StoresFixtureTest extends \PHPUnit_Framework_TestCase ...@@ -83,15 +82,13 @@ class StoresFixtureTest extends \PHPUnit_Framework_TestCase
'setDefaultSortBy', 'setDefaultSortBy',
'setIsActive', 'setIsActive',
'getId', 'getId',
'save' 'save',
'load'
], ],
[], [],
'', '',
false false
); );
$categoryMock->expects($this->once())
->method('setId')
->willReturnSelf();
$categoryMock->expects($this->once()) $categoryMock->expects($this->once())
->method('setName') ->method('setName')
->willReturnSelf(); ->willReturnSelf();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment