8
0
Prechádzať zdrojové kódy

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

fredck 10 rokov pred
rodič
commit
3210cfce05

+ 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.