mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-30 18:50:53 +00:00
unit test fixes
This commit is contained in:
@ -60,7 +60,7 @@ class BuildCompleteTest(BuildAPITest):
|
|||||||
self.post(
|
self.post(
|
||||||
reverse('api-build-complete', kwargs={'pk': 99999}),
|
reverse('api-build-complete', kwargs={'pk': 99999}),
|
||||||
{},
|
{},
|
||||||
expected_code=404
|
expected_code=400
|
||||||
)
|
)
|
||||||
|
|
||||||
data = self.post(self.url, {}, expected_code=400).data
|
data = self.post(self.url, {}, expected_code=400).data
|
||||||
|
Reference in New Issue
Block a user