Parcourir la source

Other: Align code to the changes in image upload command API.

Maciej Gołaszewski il y a 7 ans
Parent
commit
c86dd03555
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/ckeditor5-easy-image/tests/easyimage.js

+ 1 - 1
packages/ckeditor5-easy-image/tests/easyimage.js

@@ -119,7 +119,7 @@ describe( 'EasyImage', () => {
 							}
 						} );
 
-						editor.execute( 'imageUpload', { file: createNativeFileMock() } );
+						editor.execute( 'imageUpload', { files: createNativeFileMock() } );
 
 						setTimeout( () => {
 							upload._uploadGateway.resolveLastUpload();