This commit is contained in:
parent
5ff1832dee
commit
83e1ae3204
1 changed files with 2 additions and 1 deletions
|
@ -31,9 +31,10 @@ final class OrderItemControllerTest extends DbWebTest
|
|||
|
||||
$this->manager->persist($this->order);
|
||||
|
||||
$this->menuItem = new MenuItem();
|
||||
$this->menuItem = new MenuItem;
|
||||
$this->menuItem->setName('Testing');
|
||||
$this->menuItem->setFoodVendor($this->vendor);
|
||||
|
||||
$this->manager->persist($this->menuItem);
|
||||
$this->manager->flush();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue