From 83faaa2da3b9ef09e993cc9827bd2e676ff3328a Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 17 Oct 2021 22:57:07 +1100 Subject: [PATCH] unit test fixes --- InvenTree/build/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/build/test_api.py b/InvenTree/build/test_api.py index e14f52ee04..e2b6448f2f 100644 --- a/InvenTree/build/test_api.py +++ b/InvenTree/build/test_api.py @@ -60,7 +60,7 @@ class BuildCompleteTest(BuildAPITest): self.post( reverse('api-build-complete', kwargs={'pk': 99999}), {}, - expected_code=404 + expected_code=400 ) data = self.post(self.url, {}, expected_code=400).data