Fixed tests

pull/7492/head
Laurent Cozic 2022-12-18 16:38:18 +00:00
parent 79c84150a0
commit 2f46a175ab
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ export async function execRequestC(sessionId: string, method: string, path: stri
if (body) appContextOptions.request.body = body;
if (options.filePath) appContextOptions.request.files = { file: { path: options.filePath } };
if (options.filePath) appContextOptions.request.files = { file: { filepath: options.filePath } };
if (options.query) appContextOptions.request.query = options.query;
const context = await koaAppContext(appContextOptions);