From a77382d0b597cf0fd3ea91278e73a11a7de8802f Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 6 May 2022 01:04:00 +0200 Subject: [PATCH] sadd test for notification user settings --- InvenTree/common/tests.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index e2966fb8d5..0747b6ea48 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -377,6 +377,16 @@ class UserSettingsApiTest(InvenTreeAPITestCase): ) +class NotificationUserSettingsApiTest(InvenTreeAPITestCase): + """Tests for the notification user settings API""" + + def test_api_list(self): + """Test list URL""" + url = reverse('api-notifcation-setting-list') + + self.get(url, expected_code=200) + + class WebhookMessageTests(TestCase): def setUp(self): self.endpoint_def = WebhookEndpoint.objects.create()