mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update fixtues for unit testing
This commit is contained in:
parent
95fadf1300
commit
f1b83f1c17
@ -67,6 +67,7 @@
|
||||
pk: 102
|
||||
fields:
|
||||
part: 25
|
||||
batch: 'ABCDE'
|
||||
location: 7
|
||||
quantity: 3
|
||||
level: 0
|
||||
@ -93,6 +94,7 @@
|
||||
part: 10001
|
||||
location: 7
|
||||
quantity: 5
|
||||
batch: "AAA"
|
||||
level: 0
|
||||
tree_id: 0
|
||||
lft: 0
|
||||
@ -103,6 +105,7 @@
|
||||
fields:
|
||||
part: 10001
|
||||
location: 7
|
||||
batch: "AAA"
|
||||
quantity: 1
|
||||
serial: 1
|
||||
level: 0
|
||||
|
@ -528,6 +528,7 @@ class TestResultTest(StockTest):
|
||||
item.pk = None
|
||||
item.serial = None
|
||||
item.quantity = 50
|
||||
item.batch = "B344"
|
||||
|
||||
item.save()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user