diff --git a/lms/djangoapps/certificates/migrations/0015_auto_20190404_1514.py b/lms/djangoapps/certificates/migrations/0015_add_masters_choice.py similarity index 100% rename from lms/djangoapps/certificates/migrations/0015_auto_20190404_1514.py rename to lms/djangoapps/certificates/migrations/0015_add_masters_choice.py diff --git a/lms/djangoapps/certificates/signals.py b/lms/djangoapps/certificates/signals.py index 3028f84ffa..d8a103fa79 100644 --- a/lms/djangoapps/certificates/signals.py +++ b/lms/djangoapps/certificates/signals.py @@ -146,6 +146,7 @@ def fire_ungenerated_certificate_task(user, course_key, expected_verification_st CourseMode.CREDIT_MODE, CourseMode.PROFESSIONAL, CourseMode.NO_ID_PROFESSIONAL_MODE, + CourseMode.MASTERS, ] enrollment_mode, __ = CourseEnrollment.enrollment_mode_for_user(user, course_key) cert = GeneratedCertificate.certificate_for_student(user, course_key) diff --git a/lms/djangoapps/certificates/tests/test_signals.py b/lms/djangoapps/certificates/tests/test_signals.py index bf1250d466..792064e8b0 100644 --- a/lms/djangoapps/certificates/tests/test_signals.py +++ b/lms/djangoapps/certificates/tests/test_signals.py @@ -363,6 +363,7 @@ class CertificateGenerationTaskTest(ModuleStoreTestCase): ('verified', True), ('no-id-professional', True), ('credit', True), + ('masters', True), ('audit', False), ('honor', False), )