2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 19:50:59 +00:00

Improve unit testing for StockItem API

This commit is contained in:
Oliver Walters
2021-01-04 01:17:05 +11:00
parent a0c95579b4
commit d1ce0f062e
7 changed files with 189 additions and 12 deletions

View File

@ -69,7 +69,7 @@
part: 25
batch: 'ABCDE'
location: 7
quantity: 3
quantity: 0
level: 0
tree_id: 0
lft: 0
@ -220,6 +220,7 @@
tree_id: 0
lft: 0
rght: 0
expiry_date: "1990-10-10"
- model: stock.stockitem
pk: 521
@ -232,6 +233,7 @@
tree_id: 0
lft: 0
rght: 0
status: 60
- model: stock.stockitem
pk: 522
@ -243,4 +245,6 @@
level: 0
tree_id: 0
lft: 0
rght: 0
rght: 0
expiry_date: "1990-10-10"
status: 70