diff --git a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTests.java b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTests.java index f98e3a86..9c119a2b 100644 --- a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTests.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTests.java @@ -74,7 +74,6 @@ public class VndErrorsMarshallingTests { JAXBContext context = JAXBContext.newInstance(VndErrors.class); marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); VndError error = new VndError("42", "Validation failed!", // new Link("http://...", "help"), new Link("http://...", "describes")); diff --git a/src/test/resources/vnderror.xml b/src/test/resources/vnderror.xml index 94f69a39..4e3ba221 100644 --- a/src/test/resources/vnderror.xml +++ b/src/test/resources/vnderror.xml @@ -1,18 +1 @@ - - - - - - Validation failed! - - - - - Validation failed! - - - - - Validation failed! - - +Validation failed!Validation failed!Validation failed! \ No newline at end of file