diff --git a/core/lib/Thelia/Tests/Tools/DIGeneratorTest.php b/core/lib/Thelia/Tests/Tools/DIGeneratorTest.php index 6dde74625..e87905233 100644 --- a/core/lib/Thelia/Tests/Tools/DIGeneratorTest.php +++ b/core/lib/Thelia/Tests/Tools/DIGeneratorTest.php @@ -20,6 +20,7 @@ class DIGeneratorTest extends \PHPUnit_Framework_TestCase $this->assertArrayHasKey("A", $models); $this->assertArrayHasKey("B", $models); + $this->assertEquals("Thelia\Tests\Tools\_files\A", $models["A"]); $this->assertCount(2, $models, "There is more than 2 models in this directory"); } diff --git a/phpunit.xml b/phpunit.xml index bacb9c630..ba6132785 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -4,6 +4,7 @@ colors="true" bootstrap="core/autoload.php" verbose="true" + backupGlobals="false" >