8
0
Prechádzať zdrojové kódy

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

Aleksander Nowodzinski 6 rokov pred
rodič
commit
00fbbaea76

+ 1 - 1
packages/ckeditor5-editor-decoupled/tests/decouplededitor.js

@@ -134,7 +134,7 @@ describe( 'DecoupledEditor', () => {
 				.then( editor => {
 					expect( () => {
 						new DecoupledEditor( sourceElement ); // 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/ );
 
 					return editor.destroy();
 				} );