mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fixed API test
This commit is contained in:
parent
41962ca23a
commit
4972440dda
@ -100,7 +100,7 @@ class ManufacturerTest(InvenTreeAPITestCase):
|
||||
self.assertEqual(response.data['MPN'], 'MPN_TEST')
|
||||
|
||||
# Filter by manufacturer
|
||||
data = {'company': 7}
|
||||
data = {'manufacturer': 7}
|
||||
response = self.get(url, data)
|
||||
self.assertEqual(len(response.data), 3)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user