Browse Source

Aligned test with engine changes.

Oskar Wróbel 8 năm trước cách đây
mục cha
commit
5b3f8c87e5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/ckeditor5-editor-classic/tests/classiceditor.js

+ 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', () => {