From 042956ad48be8cb10b082bf82950d3ddfdd3dc7e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 28 Sep 2020 19:27:18 +1000 Subject: [PATCH] Fix unit test --- 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 1001ed12ea..18301cf49e 100644 --- a/InvenTree/stock/tests.py +++ b/InvenTree/stock/tests.py @@ -444,7 +444,7 @@ class TestResultTest(StockTest): status = item.requiredTestStatus() self.assertEqual(status['total'], 5) - self.assertEqual(status['passed'], 3) + self.assertEqual(status['passed'], 2) self.assertEqual(status['failed'], 1) self.assertFalse(item.passedAllRequiredTests())