mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 14:28:42 +02:00
Run phpunit code quality rector
This commit is contained in:
parent
f215bd11cd
commit
f3ad3c1ffe
15 changed files with 66 additions and 70 deletions
|
@ -22,6 +22,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
namespace App\Tests\Services\InfoProviderSystem;
|
||||
|
||||
use App\Entity\PriceInformations\Currency;
|
||||
use App\Entity\Attachments\AttachmentType;
|
||||
use App\Entity\Parts\ManufacturingStatus;
|
||||
use App\Services\InfoProviderSystem\DTOs\FileDTO;
|
||||
|
@ -83,6 +84,7 @@ class DTOtoEntityConverterTest extends WebTestCase
|
|||
|
||||
//For non-base currencies, a new currency entity is created
|
||||
$currency = $entity->getCurrency();
|
||||
$this->assertInstanceOf(Currency::class, $currency);
|
||||
$this->assertEquals($dto->currency_iso_code, $currency->getIsoCode());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue