2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Fix API tets

This commit is contained in:
Oliver Walters 2020-04-03 12:30:58 +11:00
parent 92f5648656
commit b25df586cd

View File

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