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