Merge pull request #27357 from edx/jhynes/microba-1164_revoke-program-certs-bugfix

fix: fix bug with `revoke_program_certificates` task
This commit is contained in:
Justin Hynes
2021-04-22 07:38:32 -04:00
committed by GitHub
5 changed files with 28 additions and 32 deletions

View File

@@ -343,4 +343,4 @@ class CertificateInvalidationTest(SharedModuleStoreTestCase):
self.certificate.invalidate()
assert mock_revoke_task.call_count == 1
assert mock_revoke_task.call_args[0] == (self.user.username, self.course_id)
assert mock_revoke_task.call_args[0] == (self.user.username, str(self.course_id))