Fixed tests

This commit is contained in:
Jan Böhmer 2026-02-22 21:26:09 +01:00
parent 62a44a4fcb
commit fc1367b26a

View file

@ -153,7 +153,7 @@ final class BarcodeScanResultHandlerTest extends KernelTestCase
$scan = new LocalBarcodeScanResult(LabelSupportedElement::STORELOCATION, 1, BarcodeSourceType::INTERNAL); $scan = new LocalBarcodeScanResult(LabelSupportedElement::STORELOCATION, 1, BarcodeSourceType::INTERNAL);
$entity = $this->service->resolveEntity($scan); $entity = $this->service->resolveEntity($scan);
$this->assertSame(1, $entity->getId()); $this->assertSame(1, $entity->getId());
$this->assertInstanceOf(StorageLocation::class, $entity->getId()); $this->assertInstanceOf(StorageLocation::class, $entity);
} }
public function testResolvePart(): void public function testResolvePart(): void