Commit 040b5b4a by Jonathan Piacenti

Fix cohorted thread test.

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