From 9a9a7e0ff48627b2c007ee0e89db05805ee4dfbc Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 6 May 2022 01:31:23 +0200 Subject: [PATCH] also cover list API --- InvenTree/common/tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index 23b330be0d..a8ab25a8d8 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -534,6 +534,11 @@ class NotificationTest(TestCase): self.assertTrue(NotificationEntry.check_recent('test.notification', 1, delta)) + def test_api_list(self): + """Test list URL""" + url = reverse('api-notifications-list') + self.get(url, expected_code=200) + class LoadingTest(TestCase): """