8
0
Просмотр исходного кода

Updated the ElementApiMixin#secureSourceElement error message to the latest API.

Aleksander Nowodzinski 6 лет назад
Родитель
Сommit
b4b62b36ea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-editor-balloon/tests/ballooneditor.js

+ 1 - 1
packages/ckeditor5-editor-balloon/tests/ballooneditor.js

@@ -92,7 +92,7 @@ describe( 'BalloonEditor', () => {
 		it( 'should throw when trying to create the editor using the same source element more than once', () => {
 			expect( () => {
 				new BalloonEditor( editorElement, { plugins: [] } ); // eslint-disable-line no-new
-			} ).to.throw( CKEditorError, /^securesourceelement-source-element-used-more-than-once/ );
+			} ).to.throw( CKEditorError, /^editor-source-element-used-more-than-once/ );
 		} );
 	} );