mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 02:14:31 +02:00
Applied symplify rules to codebase.
This commit is contained in:
parent
2f20d90041
commit
388e847b17
136 changed files with 1370 additions and 789 deletions
|
@ -27,6 +27,7 @@ namespace App\Tests\Entity\Parts;
|
|||
use App\Entity\Parts\MeasurementUnit;
|
||||
use App\Entity\Parts\Part;
|
||||
use App\Entity\Parts\PartLot;
|
||||
use DateTime;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
|
@ -86,7 +87,7 @@ class PartTest extends TestCase
|
|||
{
|
||||
$part = new Part();
|
||||
$measurement_unit = new MeasurementUnit();
|
||||
$datetime = new \DateTime();
|
||||
$datetime = new DateTime();
|
||||
|
||||
$this->assertSame(0.0, $part->getAmountSum());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue