From b998d40028b24a39a014ba3ff271edd76dba7aa4 Mon Sep 17 00:00:00 2001 From: Alexander Dusenbery Date: Fri, 18 Oct 2024 09:42:24 -0400 Subject: [PATCH] fix: add factory data to fix unit test --- enterprise_catalog/apps/catalog/tests/factories.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/enterprise_catalog/apps/catalog/tests/factories.py b/enterprise_catalog/apps/catalog/tests/factories.py index ca444595..45fab4b4 100644 --- a/enterprise_catalog/apps/catalog/tests/factories.py +++ b/enterprise_catalog/apps/catalog/tests/factories.py @@ -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 = [{