You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gi...@apache.org on 2023/10/07 03:23:39 UTC
[camel-quarkus] 11/46: Fixed pdf tests
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 1c6a1bac24dbf0d0a74b3d5a0bb4e22e7f5738dc
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,