diff --git a/app/code/community/Studioforty9/Recaptcha/Test/Helper/Data.php b/app/code/community/Studioforty9/Recaptcha/Test/Helper/Data.php index 814191b..a29415b 100644 --- a/app/code/community/Studioforty9/Recaptcha/Test/Helper/Data.php +++ b/app/code/community/Studioforty9/Recaptcha/Test/Helper/Data.php @@ -53,13 +53,13 @@ public function it_returns_an_empty_array_when_no_routes_are_configured() // We have to reset the routes in order to run this test $keyRoutes = Studioforty9_Recaptcha_Helper_Data::MODULE_KEY_ROUTES; $oldRoutes = Mage::getStoreConfig($keyRoutes); - Mage::app()->getStore(0)->setConfig($keyRoutes, ',,,'); + Mage::app()->getStore()->setConfig($keyRoutes, ',,,'); $routes = $this->helper->getEnabledRoutes(); $this->assertInternalType('array', $routes); $this->assertEmpty($routes); - Mage::app()->getStore(0)->setConfig($keyRoutes, $oldRoutes); + Mage::app()->getStore()->setConfig($keyRoutes, $oldRoutes); } }