mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Bug fix for unit testing
This commit is contained in:
parent
3ea671986c
commit
2e1a5a85a3
@ -299,7 +299,7 @@ class TestBuildViews(TestCase):
|
|||||||
# Firstly, check that the build cannot be completed!
|
# Firstly, check that the build cannot be completed!
|
||||||
self.assertFalse(self.build.can_complete)
|
self.assertFalse(self.build.can_complete)
|
||||||
|
|
||||||
url = reverse('build-output-complete', args=(self.output.pk,))
|
url = reverse('build-output-complete', args=(1,))
|
||||||
|
|
||||||
# Test without confirmation
|
# Test without confirmation
|
||||||
response = self.client.post(url, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
|
response = self.client.post(url, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user