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("B", $models);
|
||||
$this->assertEquals("Thelia\Tests\Tools\_files\A", $models["A"]);
|
||||
$this->assertCount(2, $models, "There is more than 2 models in this directory");
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
colors="true"
|
||||
bootstrap="core/autoload.php"
|
||||
verbose="true"
|
||||
backupGlobals="false"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Thelia">
|
||||
|
||||
Reference in New Issue
Block a user