mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-13 16:31:26 +00:00
Fix unit tests
This commit is contained in:
@ -219,6 +219,7 @@ class APITests(InvenTreeAPITestCase):
|
|||||||
|
|
||||||
actions = self.getActions(url)
|
actions = self.getActions(url)
|
||||||
|
|
||||||
self.assertEqual(len(actions), 2)
|
self.assertEqual(len(actions), 3)
|
||||||
|
self.assertIn('GET', actions.keys())
|
||||||
self.assertIn('PUT', actions.keys())
|
self.assertIn('PUT', actions.keys())
|
||||||
self.assertIn('DELETE', actions.keys())
|
self.assertIn('DELETE', actions.keys())
|
||||||
|
Reference in New Issue
Block a user