Explorar o código

Merge pull request #38 from ckeditor/t/ckeditor5-engine/1626

Tests: Adjust tests to recent changes in `DataController`.
Piotr Jasiun %!s(int64=7) %!d(string=hai) anos
pai
achega
13a6721f64

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

@@ -182,8 +182,8 @@ describe( 'Paragraph feature – integration', () => {
 					const root = doc.getRoot();
 					const root = doc.getRoot();
 					const otherRoot = doc.createRoot( '$root', 'otherRoot' );
 					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 => {
 					editor.model.change( writer => {
 						writer.remove( root.getChild( 0 ) );
 						writer.remove( root.getChild( 0 ) );