Applied rector to test files

This commit is contained in:
Jan Böhmer 2023-06-11 14:18:53 +02:00
parent 7ee01d9a05
commit 98dc553938
46 changed files with 42 additions and 102 deletions

View file

@ -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());
}
}