diff --git a/app/controllers/mock.php b/app/controllers/mock.php index ef537b93c5..33e92f289a 100644 --- a/app/controllers/mock.php +++ b/app/controllers/mock.php @@ -268,7 +268,7 @@ App::post('/v1/mock/tests/general/upload') ->param('x', '', new Text(100), 'Sample string param') ->param('y', '', new Integer(true), 'Sample numeric param') ->param('z', null, new ArrayList(new Text(256), APP_LIMIT_ARRAY_PARAMS_SIZE), 'Sample array param') - ->param('file', [], new File(), 'Sample file param', false) + ->param('file', [], new File(), 'Sample file param', skipValidation: true) ->inject('request') ->inject('response') ->action(function (string $x, int $y, array $z, mixed $file, Request $request, Response $response) {