DO NOT MERGE - NEED FAKE - Rename start in schedule 5/5 (#22392)

* Remove start field in Schedules

Co-authored-by: hunytalk <ahannan@edx.org>
Co-authored-by: Cory Lee <cory@edx.org>
This commit is contained in:
Abdul Hannan
2020-03-13 00:40:19 +05:00
committed by GitHub
parent c988456f0c
commit fa6633ba4e
11 changed files with 25 additions and 27 deletions

View File

@@ -338,7 +338,7 @@ class CourseExpirationTestCase(ModuleStoreTestCase):
expired_staff = role_factory.create(password=TEST_PASSWORD, course_key=self.course.id)
ScheduleFactory(
start=self.THREE_YEARS_AGO,
start_date=self.THREE_YEARS_AGO,
enrollment__mode=CourseMode.AUDIT,
enrollment__course_id=self.course.id,
enrollment__user=expired_staff
@@ -386,7 +386,7 @@ class CourseExpirationTestCase(ModuleStoreTestCase):
role.users.add(expired_staff)
ScheduleFactory(
start=self.THREE_YEARS_AGO,
start_date=self.THREE_YEARS_AGO,
enrollment__mode=CourseMode.AUDIT,
enrollment__course_id=self.course.id,
enrollment__user=expired_staff