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/30 12:44:24 UTC

[camel-quarkus] branch camel-main updated: 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


The following commit(s) were added to refs/heads/camel-main by this push:
     new eed63f83ba Fixed pdf tests
eed63f83ba is described below

commit eed63f83ba0cd67ac9ccbc2fa40711e04f68738d
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,