소스 검색

Tests: Adjust tests to recent changes in DataController.

Krzysztof Krztoń 7 년 전
부모
커밋
8b6b9ff2ec
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/ckeditor5-paragraph/tests/paragraph-intergration.js

+ 2 - 2
packages/ckeditor5-paragraph/tests/paragraph-intergration.js

@@ -182,8 +182,8 @@ describe( 'Paragraph feature – integration', () => {
 					const root = doc.getRoot();
 					const otherRoot = doc.createRoot( '$root', 'otherRoot' );
 
-					editor.data.set( '<p>Foobar.</p>', 'main' );
-					editor.data.set( '<p>Foobar.</p>', 'otherRoot' );
+					editor.data.set( { main: '<p>Foobar.</p>' } );
+					editor.data.set( { otherRoot: '<p>Foobar.</p>' } );
 
 					editor.model.change( writer => {
 						writer.remove( root.getChild( 0 ) );