You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2023/08/31 07:25:39 UTC

[camel-quarkus] 11/14: Fixed pdf tests

This is an automated email from the ASF dual-hosted git repository.

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit ca487b24e7646f0c1334bd91d5e60c13c5533dd4
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Wed Aug 30 14:43:32 2023 +0200

    Fixed pdf tests
---
 .../java/org/apache/camel/quarkus/component/pdf/it/PdfResource.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration-tests/pdf/src/main/java/org/apache/camel/quarkus/component/pdf/it/PdfResource.java b/integration-tests/pdf/src/main/java/org/apache/camel/quarkus/component/pdf/it/PdfResource.java
index d5630e51e8..6f3b486a4f 100644
--- a/integration-tests/pdf/src/main/java/org/apache/camel/quarkus/component/pdf/it/PdfResource.java
+++ b/integration-tests/pdf/src/main/java/org/apache/camel/quarkus/component/pdf/it/PdfResource.java
@@ -96,7 +96,7 @@ public class PdfResource {
         StandardProtectionPolicy policy = new StandardProtectionPolicy(ownerPassword, userPassword, permission);
 
         byte[] document = producerTemplate.requestBodyAndHeader(
-                "pdf:create?fontSize=6&pageSize=PAGE_SIZE_A5&font=Courier",
+                "pdf:create?fontSize=6&pageSize=PAGE_SIZE_A5&font=COURIER",
                 message,
                 PdfHeaderConstants.PROTECTION_POLICY_HEADER_NAME,
                 policy,