From fc1367b26abf31e62a5983c29b013c6e693ab265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 22 Feb 2026 21:26:09 +0100 Subject: [PATCH] Fixed tests --- .../LabelSystem/BarcodeScanner/BarcodeScanResultHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Services/LabelSystem/BarcodeScanner/BarcodeScanResultHandlerTest.php b/tests/Services/LabelSystem/BarcodeScanner/BarcodeScanResultHandlerTest.php index 94c3c287..840e84c0 100644 --- a/tests/Services/LabelSystem/BarcodeScanner/BarcodeScanResultHandlerTest.php +++ b/tests/Services/LabelSystem/BarcodeScanner/BarcodeScanResultHandlerTest.php @@ -153,7 +153,7 @@ final class BarcodeScanResultHandlerTest extends KernelTestCase $scan = new LocalBarcodeScanResult(LabelSupportedElement::STORELOCATION, 1, BarcodeSourceType::INTERNAL); $entity = $this->service->resolveEntity($scan); $this->assertSame(1, $entity->getId()); - $this->assertInstanceOf(StorageLocation::class, $entity->getId()); + $this->assertInstanceOf(StorageLocation::class, $entity); } public function testResolvePart(): void