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/09/25 07:40:17 UTC
[camel-quarkus] 11/38: 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 fa6cafd368ef3071da2f7d92ccee195db6be0a1b
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,