浏览代码

Tests: Aligned the test to changes in cke5-core and -engine.

Piotrek Koszuliński 5 年之前
父节点
当前提交
ff1be587b7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-table/tests/tableselection-integration.js

+ 2 - 2
packages/ckeditor5-table/tests/tableselection-integration.js

@@ -115,7 +115,7 @@ describe( 'table selection', () => {
 					{
 						type: 'children',
 						oldChildren: [],
-						newChildren: [ new ViewText( 'x' ) ],
+						newChildren: [ new ViewText( viewDocument, 'x' ) ],
 						node: viewSpan
 					}
 				] );
@@ -137,7 +137,7 @@ describe( 'table selection', () => {
 					{
 						type: 'children',
 						oldChildren: [],
-						newChildren: [ new ViewText( 'x' ) ],
+						newChildren: [ new ViewText( viewDocument, 'x' ) ],
 						node: viewSpan
 					}
 				] );