diff --git a/lms/djangoapps/ccx/tests/test_tasks.py b/lms/djangoapps/ccx/tests/test_tasks.py index 1f2fccdb48..8af45ad5b5 100644 --- a/lms/djangoapps/ccx/tests/test_tasks.py +++ b/lms/djangoapps/ccx/tests/test_tasks.py @@ -99,6 +99,7 @@ class TestSendCCXCoursePublished(ModuleStoreTestCase): """ course_key = CCXLocator.from_course_locator(self.course.id, self.ccx.id) overview = CourseOverview(id=course_key) + overview.version = 1 overview.save() overview = CourseOverview.objects.filter(id=course_key) self.assertEqual(len(overview), 1)