Merge pull request #27487 from edx/mikix/fix-gated-content-check
fix: properly set contains_gated_content field on xblocks again
This commit is contained in:
@@ -166,7 +166,7 @@ class TestContentHighlights(ModuleStoreTestCase): # lint-amnesty, pylint: disab
|
||||
mock_get_module.return_value = None
|
||||
|
||||
with self.store.bulk_operations(self.course_key):
|
||||
self._create_chapter(highlights='Test highlight')
|
||||
self._create_chapter(highlights=['Test highlight'])
|
||||
|
||||
with self.assertRaisesRegex(CourseUpdateDoesNotExist, 'Course module .* not found'):
|
||||
get_week_highlights(self.user, self.course_key, 1)
|
||||
|
||||
Reference in New Issue
Block a user