浏览代码

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

Maciej Gołaszewski 7 年之前
父节点
当前提交
c86dd03555
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();