From cbd291849c99ece65ee0559bc93cf7f3d5eb8a35 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 9 Jul 2021 01:49:17 +1000 Subject: [PATCH] More unit test fixes --- InvenTree/stock/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/tests.py b/InvenTree/stock/tests.py index 6bc15b3505..205fb417a8 100644 --- a/InvenTree/stock/tests.py +++ b/InvenTree/stock/tests.py @@ -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):