Commit 327a97f7 by cahrens

Failing test for create_item populating edit information.

parent 49e4ffbe
......@@ -1011,8 +1011,7 @@ class MongoModuleStore(ModuleStoreDraftAndPublished, ModuleStoreWriteBase):
xblock = self.create_xmodule(location, **kwargs)
xblock = self.update_item(xblock, user_id, allow_not_found=True)
# Retrieve the item from the store so that it has edit info attributes
return self.get_item(xblock.location)
return xblock
def create_child(self, user_id, parent_usage_key, block_type, block_id=None, **kwargs):
"""
......
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