Commit 2fd071fc by lduarte1991

Fixed Unit Test Issues

parent 7dee9768
...@@ -84,7 +84,6 @@ class TextAnnotationModule(AnnotatableFields, XModule): ...@@ -84,7 +84,6 @@ class TextAnnotationModule(AnnotatableFields, XModule):
'content_html': self.content, 'content_html': self.content,
'annotation_storage': self.annotation_storage_url, 'annotation_storage': self.annotation_storage_url,
'token':retrieve_token(self.user, self.annotation_token_secret), 'token':retrieve_token(self.user, self.annotation_token_secret),
'diacritic_marks': self.diacritics,
} }
return self.system.render_template('textannotation.html', context) return self.system.render_template('textannotation.html', context)
......
...@@ -91,7 +91,7 @@ class VideoAnnotationModule(AnnotatableFields, XModule): ...@@ -91,7 +91,7 @@ class VideoAnnotationModule(AnnotatableFields, XModule):
'sourceUrl': self.sourceurl, 'sourceUrl': self.sourceurl,
'typeSource': extension, 'typeSource': extension,
'poster': self.poster_url, 'poster': self.poster_url,
'content_html': self._render_content(), 'content_html': self.content,
'annotation_storage': self.annotation_storage_url, 'annotation_storage': self.annotation_storage_url,
'token': retrieve_token(self.user, self.annotation_token_secret), 'token': retrieve_token(self.user, self.annotation_token_secret),
} }
......
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