Commit bc40b8f1 by Calen Pennington

Fix auto-publish test to work with old-mongo

parent 3fd4e395
......@@ -1482,7 +1482,7 @@ class TestMixedModuleStore(unittest.TestCase):
test_course_key = test_course.id
# test create_item of direct-only category to make sure we are autopublishing
chapter = self.store.create_item(self.user_id, test_course.location, 'chapter', 'Overview')
chapter = self.store.create_child(self.user_id, test_course.location, 'chapter', 'Overview')
with self.store.branch_setting(ModuleStoreEnum.Branch.published_only):
self.assertIn(
chapter.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