feat: use idv approved event (#35470)

* feat: replace LEARNER_NOW_VERIFIED signal with new openedx-event
This commit is contained in:
Zachary Hancock
2024-09-19 09:24:20 -04:00
committed by GitHub
parent 2e2c427af6
commit 0196def99d
7 changed files with 54 additions and 29 deletions

View File

@@ -583,7 +583,7 @@ class SetIDVerificationStatusTestCase(TestCase):
"""
Verification signal is sent upon approval.
"""
with mock.patch('openedx.core.djangoapps.signals.signals.LEARNER_NOW_VERIFIED.send_robust') as mock_signal:
with mock.patch('openedx_events.learning.signals.IDV_ATTEMPT_APPROVED.send_event') as mock_signal:
# Begin the pipeline.
pipeline.set_id_verification_status(
auth_entry=pipeline.AUTH_ENTRY_LOGIN,