sadd test for notification user settings

This commit is contained in:
Matthias 2022-05-06 01:04:00 +02:00
parent 50b17d6ae8
commit a77382d0b5
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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()