mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Fixed phpunit tests
This commit is contained in:
parent
1bfea3c48a
commit
df65f39d5e
1 changed files with 2 additions and 2 deletions
|
|
@ -479,7 +479,7 @@ class LCSCProviderTest extends TestCase
|
|||
'productIntroEn' => 'Test description',
|
||||
'brandNameEn' => 'Test Manufacturer',
|
||||
'parentCatalogName' => 'Electronic Components',
|
||||
'catalogName' => 'Resistors/SMT',
|
||||
'catalogName' => 'Resistors (SMT)',
|
||||
'encapStandard' => '0603',
|
||||
'productImageUrl' => null,
|
||||
'productImages' => [],
|
||||
|
|
@ -493,7 +493,7 @@ class LCSCProviderTest extends TestCase
|
|||
$this->httpClient->setResponseFactory([$mockResponse]);
|
||||
|
||||
$result = $this->provider->getDetails('C123456');
|
||||
$this->assertEquals('Electronic Components -> Resistors -> SMT', $result->category);
|
||||
$this->assertEquals('Electronic Components -> Resistors (SMT)', $result->category);
|
||||
}
|
||||
|
||||
public function testEmptyFootprintHandling(): void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue