We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0477aea commit 84a68d6Copy full SHA for 84a68d6
openwisp_controller/config/tests/test_api.py
@@ -1539,7 +1539,7 @@ def test_reversion_list_and_restore_api(self):
1539
self.assertEqual(len(response_json), 1)
1540
1541
with self.subTest("Test filter reversion list with model name"):
1542
- params = {"id": 1, "model": "Device"}
+ params = {"model": "Device"}
1543
response = self.client.get(path, params)
1544
self.assertEqual(response.status_code, 200)
1545
self.assertEqual(len(response.json()), 1)
0 commit comments