Disallow free verified course modes
The verification workflow assumes that all verified courses will have a price. Free verified course modes cause a 404 when the user attempts to enroll or upgrade.
Showing
- cms/djangoapps/contentstore/tests/test_courseware_index.py 2 additions, 1 deletioncms/djangoapps/contentstore/tests/test_courseware_index.py
- common/djangoapps/course_modes/models.py 2 additions, 0 deletionscommon/djangoapps/course_modes/models.py
- common/djangoapps/course_modes/tests/factories.py 16 additions, 2 deletionscommon/djangoapps/course_modes/tests/factories.py
- common/djangoapps/course_modes/tests/test_admin.py 3 additions, 2 deletionscommon/djangoapps/course_modes/tests/test_admin.py
- common/djangoapps/course_modes/tests/test_models.py 37 additions, 19 deletionscommon/djangoapps/course_modes/tests/test_models.py
- common/djangoapps/course_modes/tests/test_signals.py 2 additions, 2 deletionscommon/djangoapps/course_modes/tests/test_signals.py
- common/djangoapps/course_modes/tests/test_views.py 16 additions, 16 deletionscommon/djangoapps/course_modes/tests/test_views.py
- common/djangoapps/student/tests/factories.py 9 additions, 1 deletioncommon/djangoapps/student/tests/factories.py
- common/djangoapps/student/tests/test_recent_enrollments.py 2 additions, 2 deletionscommon/djangoapps/student/tests/test_recent_enrollments.py
- common/djangoapps/student/tests/test_verification_status.py 2 additions, 2 deletionscommon/djangoapps/student/tests/test_verification_status.py
- common/djangoapps/student/tests/tests.py 2 additions, 2 deletionscommon/djangoapps/student/tests/tests.py
- lms/djangoapps/certificates/tests/test_api.py 2 additions, 2 deletionslms/djangoapps/certificates/tests/test_api.py
- lms/djangoapps/courseware/tests/test_views.py 6 additions, 2 deletionslms/djangoapps/courseware/tests/test_views.py
- lms/djangoapps/instructor/tests/test_api.py 2 additions, 2 deletionslms/djangoapps/instructor/tests/test_api.py
- lms/djangoapps/shoppingcart/tests/test_context_processor.py 1 addition, 1 deletionlms/djangoapps/shoppingcart/tests/test_context_processor.py
- lms/djangoapps/support/tests/test_refund.py 5 additions, 1 deletionlms/djangoapps/support/tests/test_refund.py
- lms/djangoapps/verify_student/tests/test_integration.py 1 addition, 1 deletionlms/djangoapps/verify_student/tests/test_integration.py
- lms/djangoapps/verify_student/tests/test_services.py 1 addition, 1 deletionlms/djangoapps/verify_student/tests/test_services.py
- lms/djangoapps/verify_student/tests/test_views.py 11 additions, 11 deletionslms/djangoapps/verify_student/tests/test_views.py
Loading
Please register or sign in to comment