add new assertion in DIGeneratorTest
This commit is contained in:
@@ -20,6 +20,7 @@ class DIGeneratorTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$this->assertArrayHasKey("A", $models);
|
$this->assertArrayHasKey("A", $models);
|
||||||
$this->assertArrayHasKey("B", $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");
|
$this->assertCount(2, $models, "There is more than 2 models in this directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="core/autoload.php"
|
bootstrap="core/autoload.php"
|
||||||
verbose="true"
|
verbose="true"
|
||||||
|
backupGlobals="false"
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Thelia">
|
<testsuite name="Thelia">
|
||||||
|
|||||||
Reference in New Issue
Block a user