소스 검색

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

fredck 10 년 전
부모
커밋
3210cfce05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.