Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
This repository was 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

@chassidus

Description

@chassidus

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions