Explorar o código

Avoided using the same element for the creation of two editors in one test.

fredck %!s(int64=10) %!d(string=hai) anos
pai
achega
3210cfce05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-engine/tests/ckeditor/ckeditor.js

+ 1 - 1
packages/ckeditor5-engine/tests/ckeditor/ckeditor.js

@@ -66,7 +66,7 @@ describe( 'create', function() {
 			editor1 = editor;
 
 			// Create the second editor.
-			return CKEDITOR.create( content ).then( function( editor ) {
+			return CKEDITOR.create( '.editor' ).then( function( editor ) {
 				editor2 = editor;
 
 				// It should have 2 editors.