More unit test fixes

This commit is contained in:
Oliver 2021-07-09 01:49:17 +10:00
parent 6e26bd0b71
commit cbd291849c

View File

@ -100,7 +100,7 @@ class StockTest(TestCase):
# And there should be *no* items being build
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"
for i in range(10):