mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 22:30:01 +02:00
Run phpunit code quality rector
This commit is contained in:
parent
f215bd11cd
commit
f3ad3c1ffe
15 changed files with 66 additions and 70 deletions
|
@ -38,7 +38,7 @@ class OrderdetailTest extends TestCase
|
|||
$pricedetail = new Pricedetail();
|
||||
$orderdetail->addPricedetail($pricedetail);
|
||||
$this->assertSame($orderdetail, $pricedetail->getOrderdetail());
|
||||
$this->assertSame(1, $orderdetail->getPricedetails()->count());
|
||||
$this->assertCount(1, $orderdetail->getPricedetails());
|
||||
|
||||
//After removal of the pricedetail, the orderdetail must be empty again
|
||||
$orderdetail->removePricedetail($pricedetail);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue