mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Fix API tets
This commit is contained in:
		| @@ -103,7 +103,7 @@ class PartAPITest(APITestCase): | |||||||
|         If provided, parts are provided for ANY child category (recursive) |         If provided, parts are provided for ANY child category (recursive) | ||||||
|         """ |         """ | ||||||
|         url = reverse('api-part-list') |         url = reverse('api-part-list') | ||||||
|         data = {'category': 1} |         data = {'category': 1, 'cascade': True} | ||||||
|  |  | ||||||
|         # Now request to include child categories |         # Now request to include child categories | ||||||
|         response = self.client.get(url, data, format='json') |         response = self.client.get(url, data, format='json') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user