mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 22:39:36 +00:00
Fixed tests
This commit is contained in:
parent
62a44a4fcb
commit
fc1367b26a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue