mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix input
This commit is contained in:
parent
b3f65735bf
commit
e68cd009f6
@ -228,7 +228,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
|
||||
self.assertEqual(result['name'], 'morpheus')
|
||||
|
||||
# api_call with filter
|
||||
result = self.mixin.api_call('api/users', url_args={"page": 2})
|
||||
result = self.mixin.api_call('api/users', url_args={'page': '2'})
|
||||
self.assertTrue(result)
|
||||
self.assertEqual(result['page'], 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user