Commit 4759fd65 authored by Jonathan's avatar Jonathan

bug fix for null domain in setCookieCallback method in Controller tests

parent 6fe26fc6
...@@ -1846,7 +1846,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test ...@@ -1846,7 +1846,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
$path = $cookieStub->getPath(); $path = $cookieStub->getPath();
} }
if ($domain !== null) { if ($domain === null) {
$domain = $cookieStub->getDomain(); $domain = $cookieStub->getDomain();
} }
......
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