Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
asadali145 committed Aug 8, 2023
1 parent 5a2f05f commit 59b045c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openedx/api_test.py
Original file line number Diff line number Diff line change
@@ -437,11 +437,13 @@ def test_enroll_in_edx_course_runs(settings, mocker, user):
course_runs[0].courseware_id,
mode=EDX_DEFAULT_ENROLLMENT_MODE,
username=user.username,
force_enrollment=True,
)
mock_client.enrollments.create_student_enrollment.assert_any_call(
course_runs[1].courseware_id,
mode=EDX_DEFAULT_ENROLLMENT_MODE,
username=user.username,
force_enrollment=True,
)
assert enroll_results == enroll_return_values

0 comments on commit 59b045c

Please sign in to comment.