Przeglądaj źródła

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

Maciej Gołaszewski 7 lat temu
rodzic
commit
c86dd03555
1 zmienionych plików z 1 dodań i 1 usunięć
  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();