mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-02-08 02:48:40 +00:00
fix tests
This commit is contained in:
parent
9686a263c0
commit
da34c7d3fe
|
|
@ -227,11 +227,11 @@ final class ApiController extends Controller
|
|||
StockMapper::create()->execute($stock);
|
||||
|
||||
$stockLocation = new StockLocation($stock->name . '-1');
|
||||
$stockLocation->stock = $stock->id;
|
||||
$stockLocation->stock = $stock;
|
||||
StockLocationMapper::create()->execute($stockLocation);
|
||||
|
||||
$stockShelf = new StockShelf($stockLocation->name . '-1');
|
||||
$stockShelf->location = $stockLocation->id;
|
||||
$stockShelf->location = $stockLocation;
|
||||
StockShelfMapper::create()->execute($stockShelf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user