瀏覽代碼

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

Aleksander Nowodzinski 6 年之前
父節點
當前提交
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/ );
 		} );
 	} );