mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	sadd test for notification user settings
This commit is contained in:
		| @@ -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): | class WebhookMessageTests(TestCase): | ||||||
|     def setUp(self): |     def setUp(self): | ||||||
|         self.endpoint_def = WebhookEndpoint.objects.create() |         self.endpoint_def = WebhookEndpoint.objects.create() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user