Skip to content

Commit

Permalink
changed this test so that it does NOT expect the exported xml to be i…
Browse files Browse the repository at this point in the history
…nvalid. #3648
  • Loading branch information
landreev committed Mar 28, 2023
1 parent e79a414 commit ce9a941
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public void testExportDataset() throws JsonParseException, IOException, ExportEx

// then
String xml = XmlPrinter.prettyPrintXml(byteArrayOutputStream.toString(StandardCharsets.UTF_8));
XmlAssert.assertThat(xml).isInvalid();
logger.severe("DDIExporterTest.testExportDataset() creates XML but it's invalid. Fixing in DDIExportUtil required.");
XmlAssert.assertThat(xml).isValid();
logger.severe("DDIExporterTest.testExportDataset() creates XML that should now be valid, since DDIExportUtil has been fixed.");
}

@Test
Expand Down

0 comments on commit ce9a941

Please sign in to comment.