Added test for vendor barcode scanner

This commit is contained in:
Jan Böhmer 2023-11-17 23:29:06 +01:00
parent 0ab604d468
commit 5442aa5e07
2 changed files with 5 additions and 0 deletions

View file

@ -107,6 +107,10 @@ class BarcodeScanHelperTest extends WebTestCase
//Test IPN barcode
yield [new BarcodeScanResult(LabelSupportedElement::PART, 2, BarcodeSourceType::IPN),
'IPN123'];
//Test vendor barcode
yield [new BarcodeScanResult(LabelSupportedElement::PART_LOT, 2,BarcodeSourceType::VENDOR),
'lot2_vendor_barcode'];
}
public static function invalidDataProvider(): array