From 4d27aa95039c570f775b9b5f9ad58bde41ecc23e Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Sat, 18 May 2024 00:39:57 +0530 Subject: [PATCH] [fix] Fixed failing test --- openwisp_notifications/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwisp_notifications/tests/test_api.py b/openwisp_notifications/tests/test_api.py index 52b2a87f..5d5481aa 100644 --- a/openwisp_notifications/tests/test_api.py +++ b/openwisp_notifications/tests/test_api.py @@ -533,7 +533,7 @@ def test_notification_setting_list_api(self): self.assertEqual(len(response.data['results']), number_of_settings) with self.subTest('Test "page_size" query'): - page_size = 1 + page_size = 2 url = f'{url}?page_size={page_size}' response = self.client.get(url) self.assertEqual(response.status_code, 200)