#29: add test for homecontroller
This commit is contained in:
parent
5d41b6fef5
commit
c4cd275c83
2 changed files with 72 additions and 1 deletions
|
@ -28,6 +28,8 @@ abstract class DbWebTest extends WebTestCase
|
|||
$schemaTool->dropDatabase();
|
||||
$schemaTool->updateSchema($metadata);
|
||||
|
||||
$this->repository = $this->manager->getRepository($this->getEntityClass());
|
||||
if ($this->getEntityClass() !== '') {
|
||||
$this->repository = $this->manager->getRepository($this->getEntityClass());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue