Commit 040b5b4a by Jonathan Piacenti

Fix cohorted thread test.

parent 8d6031d4
...@@ -281,15 +281,11 @@ class ViewsTestCase(UrlResetMixin, ModuleStoreTestCase, MockRequestSetupMixin): ...@@ -281,15 +281,11 @@ class ViewsTestCase(UrlResetMixin, ModuleStoreTestCase, MockRequestSetupMixin):
commentable_id = 'cohorted-commentable-id' commentable_id = 'cohorted-commentable-id'
self.course = CourseFactory.create( self.course.cohort_config = {
org='MITx', 'cohorted': True,
course='999', 'inline_discussions_cohorting_default': True
display_name='Robot Super Course', }
cohort_config={ self.store.update_item(self.course, self.student.id)
'cohorted': True,
'inline_discussions_cohorting_default': True
}
)
assert_true(is_commentable_cohorted(self.course.id, commentable_id)) assert_true(is_commentable_cohorted(self.course.id, commentable_id))
......
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