Przeglądaj źródła

Tests: Adjust tests to recent changes in DataController.

Krzysztof Krztoń 7 lat temu
rodzic
commit
8b6b9ff2ec

+ 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 ) );