2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 20:51:00 +00:00

Update data for unit test fixtures

This commit is contained in:
Oliver
2021-06-22 13:24:03 +10:00
parent eae9ff7d1d
commit 979ef674d6
2 changed files with 4 additions and 1 deletions

View File

@ -119,7 +119,9 @@ class ManufacturerTest(InvenTreeAPITestCase):
data = {
'MPN': 'MPN-TEST-123',
}
response = self.client.patch(url, data, format='json')
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(response.data['MPN'], 'MPN-TEST-123')