mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
unit test fixes
This commit is contained in:
parent
6ebb956c8d
commit
83faaa2da3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user