Skip to content

Commit

Permalink
fix: add factory data to fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveagent57 committed Oct 18, 2024
1 parent 4b3954e commit b998d40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions enterprise_catalog/apps/catalog/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def _json_metadata(self):
'aggregation_key': f'{self.content_type}:{self.content_key}',
'uuid': str(self.content_uuid),
'title': self.title,
'normalized_metadata': {
'enroll_by_date': '2026-01-26T23:59:59Z',
},
}
if self.content_type == COURSE:
owners = [{
Expand Down

0 comments on commit b998d40

Please sign in to comment.