mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-09 19:59:33 +00:00
Applied rector to test files
This commit is contained in:
parent
7ee01d9a05
commit
98dc553938
46 changed files with 42 additions and 102 deletions
|
|
@ -36,7 +36,7 @@ class AmountFormatterTest extends WebTestCase
|
|||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp(); // TODO: Change the autogenerated stub
|
||||
// TODO: Change the autogenerated stub
|
||||
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
|
|
@ -47,7 +47,7 @@ class AmountFormatterTest extends WebTestCase
|
|||
{
|
||||
$this->assertSame('2', $this->service->format(2.321));
|
||||
$this->assertSame('1002', $this->service->format(1002.356));
|
||||
$this->assertSame('1000454', $this->service->format(1000454.0));
|
||||
$this->assertSame('1000454', $this->service->format(1_000_454.0));
|
||||
$this->assertSame('0', $this->service->format(0.01));
|
||||
$this->assertSame('0', $this->service->format(0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue