mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
also cover list API
This commit is contained in:
parent
a2331829c9
commit
9a9a7e0ff4
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user