mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Update data for unit test fixtures
This commit is contained in:
		| @@ -119,7 +119,9 @@ class ManufacturerTest(InvenTreeAPITestCase): | |||||||
|         data = { |         data = { | ||||||
|             'MPN': 'MPN-TEST-123', |             'MPN': 'MPN-TEST-123', | ||||||
|         } |         } | ||||||
|  |          | ||||||
|         response = self.client.patch(url, data, format='json') |         response = self.client.patch(url, data, format='json') | ||||||
|  |  | ||||||
|         self.assertEqual(response.status_code, status.HTTP_200_OK) |         self.assertEqual(response.status_code, status.HTTP_200_OK) | ||||||
|         self.assertEqual(response.data['MPN'], 'MPN-TEST-123') |         self.assertEqual(response.data['MPN'], 'MPN-TEST-123') | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ | |||||||
|     name: 'M2x4 LPHS' |     name: 'M2x4 LPHS' | ||||||
|     description: 'M2x4 low profile head screw' |     description: 'M2x4 low profile head screw' | ||||||
|     category: 8 |     category: 8 | ||||||
|     link: www.acme.com/parts/m2x4lphs |     link: http://www.acme.com/parts/m2x4lphs | ||||||
|     tree_id: 0 |     tree_id: 0 | ||||||
|     purchaseable: True |     purchaseable: True | ||||||
|     level: 0 |     level: 0 | ||||||
| @@ -56,6 +56,7 @@ | |||||||
|   fields: |   fields: | ||||||
|     name: 'C_22N_0805' |     name: 'C_22N_0805' | ||||||
|     description: '22nF capacitor in 0805 package' |     description: '22nF capacitor in 0805 package' | ||||||
|  |     purchaseable: true | ||||||
|     category: 3 |     category: 3 | ||||||
|     tree_id: 0 |     tree_id: 0 | ||||||
|     level: 0 |     level: 0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user