diff --git a/src/dev/tests/unit/framework/TechDivision/MagentoUnitTesting/TestCase/Abstract.php b/src/dev/tests/unit/framework/TechDivision/MagentoUnitTesting/TestCase/Abstract.php index 1d5a3f2..2c991c4 100644 --- a/src/dev/tests/unit/framework/TechDivision/MagentoUnitTesting/TestCase/Abstract.php +++ b/src/dev/tests/unit/framework/TechDivision/MagentoUnitTesting/TestCase/Abstract.php @@ -272,13 +272,7 @@ protected function _initMageAppMock() $this->getMageAppMock()->expects($this->any()) ->method('getStore') - ->will( - $this->returnCallback( - function () { - return $this->getMageStoreMock(); - } - ) - ); + ->will($this->returnCallback(array($this, 'getMageStoreMock'))); } /**