mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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!
|
||||
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
|
||||
response = self.client.post(url, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
|
||||
|
Loading…
Reference in New Issue
Block a user