mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
More unit test fixes
This commit is contained in:
parent
6e26bd0b71
commit
cbd291849c
@ -100,7 +100,7 @@ class StockTest(TestCase):
|
|||||||
# And there should be *no* items being build
|
# And there should be *no* items being build
|
||||||
self.assertEqual(part.quantity_being_built, 0)
|
self.assertEqual(part.quantity_being_built, 0)
|
||||||
|
|
||||||
build = Build.objects.create(part=part, title='A test build', quantity=1)
|
build = Build.objects.create(reference='12345', part=part, title='A test build', quantity=1)
|
||||||
|
|
||||||
# Add some stock items which are "building"
|
# Add some stock items which are "building"
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
|
Loading…
Reference in New Issue
Block a user