fix: wrong start date is displayed in susbection modal with xblock's start date so use course context's start date (AA-945)

This commit is contained in:
Sofia Yoon
2021-07-30 11:25:38 -04:00
parent 61b9a523e7
commit a272dd54cf
3 changed files with 7 additions and 10 deletions

View File

@@ -2132,6 +2132,7 @@ describe('CourseOutlinePage', function() {
]);
createCourseOutlinePage(this, mockCourseJSON, false);
setSelfPacedCustomPLS();
course.set('start', '2014-07-09T00:00:00Z');
});
setEditModalValuesForCustomPacing = function(grading_type, due_in) {
@@ -2149,7 +2150,6 @@ describe('CourseOutlinePage', function() {
createMockSubsectionJSON({
graded: true,
relative_weeks_due: 3,
start: '2014-07-09T00:00:00Z',
format: 'Lab',
has_explicit_staff_lock: true,
staff_only_message: true,