diff --git a/x-pack/legacy/plugins/reporting/server/routes/generation.test.ts b/x-pack/legacy/plugins/reporting/server/routes/generation.test.ts index c44d30bb2878d..54d9671692c5d 100644 --- a/x-pack/legacy/plugins/reporting/server/routes/generation.test.ts +++ b/x-pack/legacy/plugins/reporting/server/routes/generation.test.ts @@ -77,7 +77,7 @@ test(`returns 400 if there are no job params`, async () => { `); }); -test(`returns 400 if job params is empty`, async () => { +test(`returns 400 if job params is invalid`, async () => { registerJobGenerationRoutes( mockReportingPlugin, (mockServer as unknown) as ServerFacade,