Kaynağa Gözat

Aligned test with engine changes.

Oskar Wróbel 8 yıl önce
ebeveyn
işleme
5b3f8c87e5

+ 2 - 2
packages/ckeditor5-editor-classic/tests/classiceditor.js

@@ -40,8 +40,8 @@ describe( 'ClassicEditor', () => {
 		} );
 
 		it( 'creates a single document root', () => {
-			expect( count( editor.document.getRootNames() ) ).to.equal( 1 );
-			expect( editor.document.getRoot() ).to.have.property( 'name', '$root' );
+			expect( count( editor.model.document.getRootNames() ) ).to.equal( 1 );
+			expect( editor.model.document.getRoot() ).to.have.property( 'name', '$root' );
 		} );
 
 		it( 'uses HTMLDataProcessor', () => {