From df65f39d5ece1e9f30f81c800a79124c94cea10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 21 Sep 2025 23:33:56 +0200 Subject: [PATCH] Fixed phpunit tests --- .../InfoProviderSystem/Providers/LCSCProviderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Services/InfoProviderSystem/Providers/LCSCProviderTest.php b/tests/Services/InfoProviderSystem/Providers/LCSCProviderTest.php index 08759011..57527f57 100644 --- a/tests/Services/InfoProviderSystem/Providers/LCSCProviderTest.php +++ b/tests/Services/InfoProviderSystem/Providers/LCSCProviderTest.php @@ -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