Răsfoiți Sursa

Made tests pass after changes in the core.

Piotrek Koszuliński 9 ani în urmă
părinte
comite
a3476b84e3
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 2 4
      packages/ckeditor5-enter/tests/entercommand.js

+ 2 - 4
packages/ckeditor5-enter/tests/entercommand.js

@@ -5,20 +5,18 @@
 
 'use strict';
 
-import VirtualTestEditor from '/tests/ckeditor5/_utils/virtualtesteditor.js';
+import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
 import { default as EnterCommand, enterBlock } from '/ckeditor5/enter/entercommand.js';
 import { getData, setData } from '/tests/engine/_utils/model.js';
 
 let editor, doc;
 
 beforeEach( () => {
-	return VirtualTestEditor.create( )
+	return ModelTestEditor.create()
 		.then( newEditor => {
 			editor = newEditor;
 			doc = editor.document;
 
-			doc.createRoot();
-
 			const command = new EnterCommand( editor );
 			editor.commands.set( 'enter', command );