Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Mage registry key "controller" already exists issue when running tests on Magento 1.7 #22

Open
chassidus opened this issue Dec 26, 2014 · 0 comments

Comments

@chassidus
Copy link

The solution is quite simple - add to dev\tests\integration\framework\Magento\Test\TestCase\ControllerAbstract.php

protected function setUp()
{
//must unregister, otherwise conttoller tests fails
Mage::unregister('controller');

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant