From aa647bd87e2cf5987d0ef34b104bf461f699725e Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Fri, 14 Aug 2015 10:00:04 -0500 Subject: [PATCH] fix test broken by course_overview changes --- lms/djangoapps/ccx/tests/test_tasks.py | 1 + 1 file changed, 1 insertion(+) 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)