Fixed API test

This commit is contained in:
eeintech 2021-04-30 15:27:36 -04:00
parent 41962ca23a
commit 4972440dda

View File

@ -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)