You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/10/02 08:10:29 UTC
[maven-pdf-plugin] 02/03: Fix failing tests with new plexus-utils
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-pdf-plugin.git
commit 4cbd850407c228a60fb03d51a043a02f772dff37
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Oct 1 21:36:02 2021 +0200
Fix failing tests with new plexus-utils
---
.../java/org/apache/maven/plugins/pdf/DocumentModelBuilderTest.java | 2 +-
src/test/resources/unit/pdf/pom_model_builder.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/maven/plugins/pdf/DocumentModelBuilderTest.java b/src/test/java/org/apache/maven/plugins/pdf/DocumentModelBuilderTest.java
index f8c2770..bb50bfb 100644
--- a/src/test/java/org/apache/maven/plugins/pdf/DocumentModelBuilderTest.java
+++ b/src/test/java/org/apache/maven/plugins/pdf/DocumentModelBuilderTest.java
@@ -65,7 +65,7 @@ public class DocumentModelBuilderTest
{
DocumentModel model = new DocumentModelBuilder( new ModelBuilderMavenProjectStub() ).getDocumentModel();
- assertEquals( "ISO-8859-1", model.getModelEncoding() );
+ assertEquals( "UTF-8", model.getModelEncoding() );
assertEquals( "Test ArtifactId", model.getOutputName() );
DocumentCover cover = model.getCover();
diff --git a/src/test/resources/unit/pdf/pom_model_builder.xml b/src/test/resources/unit/pdf/pom_model_builder.xml
index 0608d22..d62638d 100644
--- a/src/test/resources/unit/pdf/pom_model_builder.xml
+++ b/src/test/resources/unit/pdf/pom_model_builder.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one