make orderitem menuitem non nullable #18

Merged
lubiana merged 2 commits from make-orderitem-menuitem-non-nullable into main 2024-06-26 18:33:03 +00:00
Showing only changes of commit 83e1ae3204 - Show all commits

View file

@ -31,9 +31,10 @@ final class OrderItemControllerTest extends DbWebTest
$this->manager->persist($this->order); $this->manager->persist($this->order);
$this->menuItem = new MenuItem(); $this->menuItem = new MenuItem;
$this->menuItem->setName('Testing'); $this->menuItem->setName('Testing');
$this->menuItem->setFoodVendor($this->vendor); $this->menuItem->setFoodVendor($this->vendor);
$this->manager->persist($this->menuItem); $this->manager->persist($this->menuItem);
$this->manager->flush(); $this->manager->flush();
} }