feat: Update the course end date block display logic
For self-paced courses, we have decided to switch to showing the end date as long as it is within 365 days rather than the expected duration of the course.
This commit is contained in:
@@ -41,7 +41,7 @@ class TestCourseDatesFragmentView(ModuleStoreTestCase):
|
||||
|
||||
def test_course_dates_fragment(self):
|
||||
response = self.client.get(self.dates_fragment_url)
|
||||
self.assertContains(response, 'Course End')
|
||||
self.assertContains(response, 'Course ends')
|
||||
|
||||
self.client.logout()
|
||||
response = self.client.get(self.dates_fragment_url)
|
||||
|
||||
Reference in New Issue
Block a user