From c9f7b642c592ab178854d1b03a9be764619ccf84 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 15 Mar 2024 11:25:55 +0100 Subject: [PATCH] fix(api): wrong expected message in tests --- pkg/modules/api/middlewares_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/modules/api/middlewares_test.go b/pkg/modules/api/middlewares_test.go index 7fa5a1c1..d3c90030 100644 --- a/pkg/modules/api/middlewares_test.go +++ b/pkg/modules/api/middlewares_test.go @@ -41,7 +41,7 @@ func TestParseError(t *testing.T) { { err: gotenberg.ErrPdfFormatNotSupported, expectStatus: http.StatusBadRequest, - expectMessage: "A least one PDF engine does not handle one of the requested PDF format, while other have failed to convert for other reasons", + expectMessage: "At least one PDF engine cannot process the requested PDF format, while others may have failed to convert due to different issues", }, { err: WrapError(