File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments