Selaa lähdekoodia

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

Aleksander Nowodzinski 6 vuotta sitten
vanhempi
commit
b4b62b36ea
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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/ );
 		} );
 	} );