Sfoglia il codice sorgente

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

fredck 10 anni fa
parent
commit
b3a0ef042f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-utils/tests/ckeditor/ckeditor.js

+ 1 - 1
packages/ckeditor5-utils/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.