Solved add bug

This commit is contained in:
Kevin Frantz
2018-07-15 13:07:26 +02:00
parent ca8aaa95be
commit 9f059d1202
2 changed files with 8 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class OrderTest extends TestCase
}
public function testAdd():void{
$this->assertEquals($this->product, $this->order->getProducts()->get($this->product->getId()));
$this->assertEquals(true, $this->order->getProducts()->contains($this->product));
}
public function testRemove():void{