Skip to content

Commit

Permalink
fix: remove merge artifact causing test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoholic committed Dec 2, 2024
1 parent 7f4c551 commit 19c85a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_enterprise/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,7 @@ def expected_email_item(user, activation_links):
assert email_items == expected_email_items

@ddt.data(True, False)
@mock.patch("enterprise.utils.CourseEnrollmentAllowed")
def test_ensure_course_enrollment_is_allowed(self, invite_only, mock_cea):
def test_ensure_course_enrollment_is_allowed(self, invite_only):
"""
Test that the enrollment allow endpoint is called for the "invite_only" courses.
"""
Expand Down

0 comments on commit 19c85a7

Please sign in to comment.