mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Applied code style to tests/
This commit is contained in:
parent
f861de791f
commit
fe0f69f762
44 changed files with 427 additions and 306 deletions
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
|
||||
*
|
||||
|
@ -26,7 +29,7 @@ use PHPUnit\Framework\TestCase;
|
|||
|
||||
class CurrencyTest extends TestCase
|
||||
{
|
||||
public function testGetInverseExchangeRate()
|
||||
public function testGetInverseExchangeRate(): void
|
||||
{
|
||||
$currency = new Currency();
|
||||
|
||||
|
@ -37,6 +40,6 @@ class CurrencyTest extends TestCase
|
|||
$this->assertNull($currency->getInverseExchangeRate());
|
||||
|
||||
$currency->setExchangeRate('1.45643');
|
||||
$this->assertEquals('0.68661', $currency->getInverseExchangeRate());
|
||||
$this->assertSame('0.68661', $currency->getInverseExchangeRate());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue