Sebastian Grund
Sebastian Grund
When using a shared fixture (shared_entities) for a class, this information is stored in the fixture storage. The result is, that local entities are not removed as long as the...
helperAdminSession() is not working when using Magento EE. An observer in Enterprise_AdminGws tries to set the Adminroles for the websites, but the Enterprise_AdminGws_Model_Role model is not filled with the correct...
Fixed indexer for Magento 1.13.x.x
Modulename detection is not working correctly when Modules like these exists: N98_Catalog N98_CatalogGrouped ``` foreach ($this->getConfig()->getNode('modules')->children() as $module) { if (strpos($className, $module->getName()) === 0) { $moduleName = $module->getName(); break; }...
When running an adminhtml controllertest and in the next test a mocked user session is created the AdminGws Observer causes an error. In Function \EcomDev_PHPUnit_Test_Case_Controller::reset we should also reset the...
When creating a new testclass without any test methods inside, EcomDev adds an Error Class "PHPUnit_Framework_Warning" with message "No tests found in class '...' to the tests array. EcomDev then...
$this->setCurrentStore('test_storeview'); $this->dispatch('/'); Will fall back to default storeview. Problem is in \EcomDev_PHPUnit_Test_Case_Controller::getUrlModel when no _store param is given in arguments. ``` if ($params['_store'] !== EcomDev_PHPUnit_Model_App::ADMIN_STORE_CODE) { $this->setCurrentStore($params['_store']); $urlModel = Mage::getModel('core/url');...