Commit 9cb3055e authored by Jonathan Day's avatar Jonathan Day

return the mock object for getModel() calls for core/cookie as well as getSingleton

parent ec26f037
...@@ -1808,7 +1808,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test ...@@ -1808,7 +1808,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
array($this, 'deleteCookieCallback') array($this, 'deleteCookieCallback')
)); ));
$this->replaceByMock('singleton', 'core/cookie', $cookie); $this->replaceByMock('model', 'core/cookie', $cookie);
return $this; return $this;
} }
......
Markdown is supported
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