mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Applied rector to test files
This commit is contained in:
parent
7ee01d9a05
commit
98dc553938
46 changed files with 42 additions and 102 deletions
|
@ -104,9 +104,9 @@ class PartTest extends TestCase
|
|||
$this->assertSame(13.141, $part->getAmountSum());
|
||||
|
||||
//1 billion part lot
|
||||
$part->addPartLot((new PartLot())->setAmount(1000000000));
|
||||
$this->assertSame(1000000013.141, $part->getAmountSum());
|
||||
$part->addPartLot((new PartLot())->setAmount(1_000_000_000));
|
||||
$this->assertSame(1_000_000_013.141, $part->getAmountSum());
|
||||
$measurement_unit->setIsInteger(true);
|
||||
$this->assertSame(1000000013.0, $part->getAmountSum());
|
||||
$this->assertSame(1_000_000_013.0, $part->getAmountSum());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue