Skip to content

Commit

Permalink
fix: search/all breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
zawan-ila committed Jul 1, 2024
1 parent 42dd073 commit 7c1f106
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions course_discovery/apps/api/tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2554,9 +2554,6 @@ def get_expected_data(cls, course_run, course_skill, request):
'first_enrollable_paid_seat_sku': course_run.first_enrollable_paid_seat_sku(),
'first_enrollable_paid_seat_price': course_run.first_enrollable_paid_seat_price,
'is_enrollable': course_run.is_enrollable,
'restriction_type': (
course_run.restricted_run.restriction_type if hasattr(course_run, 'restricted_run') else None
)
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class Meta:
'transcript_languages',
'type',
'weeks_to_complete',
'restriction_type',
)


Expand Down

0 comments on commit 7c1f106

Please sign in to comment.