Skip to content

Commit 917aa72

Browse files
fix test
1 parent 2869813 commit 917aa72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unittests/test_notifications.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def test_webhook_reactivation(self):
649649
with self.subTest("active"):
650650
wh = Notification_Webhooks.objects.filter(owner=None).first()
651651
manager = WebhookNotificationManger()
652-
manager._webhook_reactivation(manager, endpoint_id=wh.pk)
652+
manager._webhook_reactivation(endpoint_id=wh.pk)
653653

654654
updated_wh = Notification_Webhooks.objects.filter(owner=None).first()
655655
self.assertEqual(updated_wh.status, Notification_Webhooks.Status.STATUS_ACTIVE)
@@ -668,7 +668,7 @@ def test_webhook_reactivation(self):
668668

669669
with self.assertLogs("dojo.notifications.helper", level="DEBUG") as cm:
670670
manager = WebhookNotificationManger()
671-
manager._webhook_reactivation(manager, endpoint_id=wh.pk)
671+
manager._webhook_reactivation(endpoint_id=wh.pk)
672672

673673
updated_wh = Notification_Webhooks.objects.filter(owner=None).first()
674674
self.assertEqual(updated_wh.status, Notification_Webhooks.Status.STATUS_ACTIVE_TMP)

0 commit comments

Comments
 (0)