mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-02-12 07:38:42 +00:00
fix tests
This commit is contained in:
parent
5bd7a9b808
commit
524172e913
|
|
@ -17,6 +17,7 @@ use Modules\Labeling\Models\Image;
|
||||||
use Modules\Labeling\Models\Label;
|
use Modules\Labeling\Models\Label;
|
||||||
use Modules\Labeling\Models\Shape;
|
use Modules\Labeling\Models\Shape;
|
||||||
use Modules\Labeling\Models\Text;
|
use Modules\Labeling\Models\Text;
|
||||||
|
use Modules\Organization\Models\NullUnit;
|
||||||
use phpOMS\Localization\ISO3166NameEnum;
|
use phpOMS\Localization\ISO3166NameEnum;
|
||||||
use phpOMS\Utils\Barcode\Datamatrix;
|
use phpOMS\Utils\Barcode\Datamatrix;
|
||||||
use phpOMS\Utils\Barcode\QR;
|
use phpOMS\Utils\Barcode\QR;
|
||||||
|
|
@ -25,6 +26,10 @@ $margin = 50;
|
||||||
|
|
||||||
$l = new Label();
|
$l = new Label();
|
||||||
|
|
||||||
|
if (!isset($unit)) {
|
||||||
|
$unit = new NullUnit();
|
||||||
|
}
|
||||||
|
|
||||||
/** @var \Modules\ItemManagement\Models\Item $item */
|
/** @var \Modules\ItemManagement\Models\Item $item */
|
||||||
|
|
||||||
// top
|
// top
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user