appsembler/figures

Hawthorn GeneratedCertificate Mock is wrong

Closed this issue · 1 comments

As you discovered, @estherjsuh , the GeneratedCertificate mock is wrong, missing the In Hawthorn, theon_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

Hi @johnbaldwin, I linked a PR for this issue.
Please review. Thanks!