From 347be2aa3a6c3fba1a2c298582243efff5c373e4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 5 Apr 2022 01:58:28 +0200 Subject: [PATCH] fix test --- InvenTree/part/test_part.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/test_part.py b/InvenTree/part/test_part.py index 7ceeed8f01..82d2579868 100644 --- a/InvenTree/part/test_part.py +++ b/InvenTree/part/test_part.py @@ -19,7 +19,7 @@ from .templatetags import inventree_extras import part.settings from common.models import InvenTreeSetting, NotificationEntry, NotificationMessage -from common.notifications import storage +from common.notifications import storage, UIMessageNotification class TemplateTagTest(TestCase): @@ -524,7 +524,7 @@ class PartNotificationTest(BaseNotificationIntegrationTest): """ Integration test for part notifications """ def test_notification(self): - self._notification_run() + self._notification_run(UIMessageNotification) # There should be 1 notification message right now self.assertEqual(NotificationMessage.objects.all().count(), 1)