Failing test for create_item populating edit information.
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user