Closed johnbaldwin closed 3 years ago
As you discovered, @estherjsuh , the GeneratedCertificate mock is wrong, missing the In Hawthorn, theon_delete=models.CASCADE` in the mock code:
GeneratedCertificate
In Hawthorn, the
This is the production model:
https://github.com/appsembler/edx-platform/blob/appsembler/tahoe/master/lms/djangoapps/certificates/models.py#L233
So we need to fix this for the Hawthorn mock
The Juniper mock looks correct: https://github.com/appsembler/figures/blob/master/mocks/juniper/lms/djangoapps/certificates/models.py#L11
Hi @johnbaldwin, I linked a PR for this issue. Please review. Thanks!
As you discovered, @estherjsuh , the
GeneratedCertificate
mock is wrong, missing theIn Hawthorn, the
on_delete=models.CASCADE` in the mock code:This is the production model:
https://github.com/appsembler/edx-platform/blob/appsembler/tahoe/master/lms/djangoapps/certificates/models.py#L233
So we need to fix this for the Hawthorn mock
The Juniper mock looks correct: https://github.com/appsembler/figures/blob/master/mocks/juniper/lms/djangoapps/certificates/models.py#L11