test: fix test case
This commit is contained in:
@@ -271,6 +271,8 @@ class TestCourseNextSectionUpdateResolver(SchedulesResolverTestMixin, ModuleStor
|
||||
|
||||
@override_settings(CONTACT_MAILING_ADDRESS='123 Sesame Street')
|
||||
@override_settings(LOGO_URL_PNG='https://www.logo.png')
|
||||
@override_settings(SELF_PACED_BANNER_URL = 'https://edx-notifications-static.edx.org/icons/self_paced_banner.jpg')
|
||||
@override_settings(SELF_PACED_CLOUD_URL = 'https://edx-notifications-static.edx.org/icons/edX_icon-cloud_self-paced-email.png')
|
||||
def test_schedule_context(self):
|
||||
resolver = self.create_resolver()
|
||||
# using this to make sure the select_related stays intact
|
||||
@@ -316,6 +318,8 @@ class TestCourseNextSectionUpdateResolver(SchedulesResolverTestMixin, ModuleStor
|
||||
'twitter': twitter_url},
|
||||
'template_revision': 'release',
|
||||
'unsubscribe_url': None,
|
||||
'self_paced_banner_url': 'https://edx-notifications-static.edx.org/icons/self_paced_banner.jpg',
|
||||
'self_paced_cloud_url': 'https://edx-notifications-static.edx.org/icons/edX_icon-cloud_self-paced-email.png',
|
||||
'week_highlights': ['good stuff 2'],
|
||||
'week_num': 2,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user