feat!: Enable v2 of course certificates for all course runs (#27817)

This moves all course runs that use certificates over to V2 of course certificates, and disables the option for a course run to use V1 of course certificates.

MICROBA-1082
This commit is contained in:
Christie Rice
2021-06-15 15:08:40 -04:00
committed by GitHub
parent 4f5f829911
commit 59dc0a4a39
10 changed files with 12 additions and 429 deletions

View File

@@ -2271,15 +2271,6 @@ class GenerateUserCertTests(ModuleStoreTestCase):
resp = self.client.post(self.url)
assert resp.status_code == 200
# Verify Google Analytics event fired after generating certificate
mock_tracker.track.assert_called_once_with(
self.student.id,
'edx.bi.user.certificate.generate',
{
'category': 'certificates',
'label': str(self.course.id)
},
)
mock_tracker.reset_mock()
def test_user_with_passing_existing_generating_cert(self):