Skip to content

Commit 842e0d4

Browse files
fix: removed hardcoded URLs
1 parent 3703333 commit 842e0d4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +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')
274+
@override_settings(SELF_PACED_BANNER_URL = '')
275+
@override_settings(SELF_PACED_CLOUD_URL = '')
276276
def test_schedule_context(self):
277277
resolver = self.create_resolver()
278278
# using this to make sure the select_related stays intact
@@ -318,8 +318,8 @@ def test_schedule_context(self):
318318
'twitter': twitter_url},
319319
'template_revision': 'release',
320320
'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',
321+
'self_paced_banner_url': '',
322+
'self_paced_cloud_url': '',
323323
'week_highlights': ['good stuff 2'],
324324
'week_num': 2,
325325
}

0 commit comments

Comments
 (0)