aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/document-to-html.tests.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js
index 864e3ee..c7b7bcf 100644
--- a/tests/document-to-html.tests.js
+++ b/tests/document-to-html.tests.js
@@ -179,7 +179,8 @@ describe('DocumentConverter', function() {
var image = new documents.Image({
readImage: function(encoding) {
return q.when(imageBuffer.toString(encoding));
- }
+ },
+ contentType: "image/png"
});
var converter = new DocumentConverter();
return converter.convertToHtml(image).then(function(result) {