Skip to content

Commit 3703333

Browse files
test: fix test case
1 parent 6219c17 commit 3703333

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

openedx/core/djangoapps/schedules/tests/test_resolvers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ def create_resolver(self, user_start_date_offset=8):
271271

272272
@override_settings(CONTACT_MAILING_ADDRESS='123 Sesame Street')
273273
@override_settings(LOGO_URL_PNG='https://www.logo.png')
274+
@override_settings(SELF_PACED_BANNER_URL = 'https://edx-notifications-static.edx.org/icons/self_paced_banner.jpg')
275+
@override_settings(SELF_PACED_CLOUD_URL = 'https://edx-notifications-static.edx.org/icons/edX_icon-cloud_self-paced-email.png')
274276
def test_schedule_context(self):
275277
resolver = self.create_resolver()
276278
# using this to make sure the select_related stays intact
@@ -316,6 +318,8 @@ def test_schedule_context(self):
316318
'twitter': twitter_url},
317319
'template_revision': 'release',
318320
'unsubscribe_url': None,
321+
'self_paced_banner_url': 'https://edx-notifications-static.edx.org/icons/self_paced_banner.jpg',
322+
'self_paced_cloud_url': 'https://edx-notifications-static.edx.org/icons/edX_icon-cloud_self-paced-email.png',
319323
'week_highlights': ['good stuff 2'],
320324
'week_num': 2,
321325
}

0 commit comments

Comments
 (0)