浏览代码

Tests: Corrected test.

Szymon Cofalik 7 年之前
父节点
当前提交
d903f51ef8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-undo/tests/undoediting-integration.js

+ 1 - 1
packages/ckeditor5-undo/tests/undoediting-integration.js

@@ -1055,7 +1055,7 @@ describe( 'UndoEditing integration', () => {
 		// 1. Step - add text and marker to the paragraph.
 		model.change( writer => {
 			writer.appendText( 'foo', paragraph );
-			writer.setMarker( 'marker', Range.createIn( paragraph ) );
+			writer.setMarker( 'marker', Range.createIn( paragraph ), { usingOperation: true } );
 		} );
 
 		// 2. Step - remove text from paragraph.