Updating course overview serializer to return string data for has_ended and...
Updating course overview serializer to return string data for has_ended and has_started, and not a bound method Oops meant this to be a bool and not a string type Had to add a start and end date for the course overview test fixture for tests to pass
Showing
- openedx/core/djangoapps/content/course_overviews/serializers.py 2 additions, 2 deletions...x/core/djangoapps/content/course_overviews/serializers.py
- openedx/core/djangoapps/content/course_overviews/tests/factories.py 9 additions, 0 deletions...re/djangoapps/content/course_overviews/tests/factories.py
- openedx/core/djangoapps/content/course_overviews/tests/test_serializers.py 3 additions, 0 deletions...goapps/content/course_overviews/tests/test_serializers.py
Please register or sign in to comment