Ver código fonte

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

Aleksander Nowodzinski 6 anos atrás
pai
commit
b4b62b36ea

+ 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/ );
 		} );
 	} );