diff --git a/tests/ve2/dm/ve.dm.HTMLConverter.test.js b/tests/ve2/dm/ve.dm.HTMLConverter.test.js
index 3e70ac7b1d..aa4ae39c97 100644
--- a/tests/ve2/dm/ve.dm.HTMLConverter.test.js
+++ b/tests/ve2/dm/ve.dm.HTMLConverter.test.js
@@ -26,6 +26,14 @@ test( 'convertHTML', function() {
{ 'type': '/paragraph' }
],
'message': 'bold, italic, underline'
+ },
+ {
+ 'html': '',
+ 'linearModel': [
+ { 'type': 'image', 'attributes' : { 'html/src' : 'http://www.something.com/test.jpg' } },
+ { 'type' : '/image' }
+ ],
+ 'message': 'image'
}
];
expect(cases.length);
@@ -40,25 +48,4 @@ test( 'convertHTML', function() {
deepEqual(convertedLinearModel, c.linearModel, c.message);
}
-
-
-
-/*
- //paragraph and text
- HTML = $('
');
- linearModel = [ { 'type': 'paragraph' }, 'a', 'b', 'c', { 'type': '/paragraph' } ];
- convertedLinearModel = ve.dm.HTMLConverter.getLinearModel(HTML[0]);
- strictEqual( convertedLinearModel.data, linearModel.data, 'paragraph and text' );
-
- //paragraph and text
- HTML = $('');
- linearModel = [
- { 'type': 'paragraph' },
- ['a', { '{"type":"textStyle/bold"}': { 'type': 'textStyle/bold' } }],
- ['b', { '{"type":"textStyle/italic"}': { 'type': 'textStyle/italic' } }],
- ['c', { '{"type":"textStyle/underline"}': { 'type': 'textStyle/underline' } }],
- { 'type': '/paragraph' } ];
- convertedLinearModel = ve.dm.HTMLConverter.getLinearModel(HTML[0]);
- strictEqual( convertedLinearModel.data, linearModel.data, 'bold, italic, underline' );
-*/
} );