mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 02:14:31 +02:00
Applied rectors phpunit 9 migrations to tests
This commit is contained in:
parent
684334ba22
commit
fcbb1849ec
22 changed files with 162 additions and 187 deletions
|
@ -81,8 +81,8 @@ class BOMImporterTest extends WebTestCase
|
|||
$this->assertContainsOnlyInstancesOf(ProjectBOMEntry::class, $bom);
|
||||
$this->assertCount(4, $bom);
|
||||
|
||||
$this->assertEquals('R19,R17', $bom[0]->getMountnames());
|
||||
$this->assertEquals(2.0, $bom[0]->getQuantity());
|
||||
$this->assertSame('R19,R17', $bom[0]->getMountnames());
|
||||
$this->assertSame(2.0, $bom[0]->getQuantity());
|
||||
$this->assertSame('4.7k (R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)', $bom[0]->getName());
|
||||
$this->assertSame('Test', $bom[0]->getComment());
|
||||
|
||||
|
@ -100,8 +100,8 @@ class BOMImporterTest extends WebTestCase
|
|||
$this->assertContainsOnlyInstancesOf(ProjectBOMEntry::class, $bom);
|
||||
$this->assertCount(4, $bom);
|
||||
|
||||
$this->assertEquals('R19,R17', $bom[0]->getMountnames());
|
||||
$this->assertEquals(2.0, $bom[0]->getQuantity());
|
||||
$this->assertSame('R19,R17', $bom[0]->getMountnames());
|
||||
$this->assertSame(2.0, $bom[0]->getQuantity());
|
||||
$this->assertSame('4.7k (R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)', $bom[0]->getName());
|
||||
$this->assertSame('Test', $bom[0]->getComment());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue