#21 add planned closing time to food order
This commit is contained in:
parent
634f13d968
commit
b479fbf5ed
5 changed files with 11 additions and 3 deletions
|
@ -39,6 +39,7 @@ final class OrderItemControllerTest extends DbWebTest
|
|||
|
||||
$this->manager->persist($this->menuItem);
|
||||
$this->manager->flush();
|
||||
|
||||
$this->menuItemRepository = static::getContainer()->get(MenuItemRepository::class);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ abstract class DbWebTest extends WebTestCase
|
|||
->getAllMetadata();
|
||||
$schemaTool->dropDatabase();
|
||||
$schemaTool->updateSchema($metadata);
|
||||
|
||||
$this->repository = $this->manager->getRepository($this->getEntityClass());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue