Commit ef5c23c5 by Diana Huang

Fix test to use the start instead of due date.

parent 544d5d59
...@@ -297,8 +297,6 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase): ...@@ -297,8 +297,6 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
return response return response
# TODO: LEARNER-837: Due 6/4/2017. Remove skip.
@skip("skipping test")
def test_preview(self): def test_preview(self):
""" """
Verify the behavior of preview for the course outline. Verify the behavior of preview for the course outline.
...@@ -322,7 +320,7 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase): ...@@ -322,7 +320,7 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
category='chapter', category='chapter',
parent_location=course.location, parent_location=course.location,
display_name='Future Chapter', display_name='Future Chapter',
due=future_date, start=future_date,
) )
sequential = ItemFactory.create(category='sequential', parent_location=chapter.location) sequential = ItemFactory.create(category='sequential', parent_location=chapter.location)
ItemFactory.create(category='vertical', parent_location=sequential.location) ItemFactory.create(category='vertical', parent_location=sequential.location)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment