removed unnecessary explicit closing of applicationContext (having strange implications on DB cleanup)

This commit is contained in:
robokaso
2008-02-29 13:11:20 +00:00
parent a1daad39f8
commit 20445128ff

View File

@@ -36,8 +36,7 @@ public class XmlStaxJobFunctionalTests extends AbstractValidatingBatchLauncherTe
* Output should be the same as input
*/
protected void validatePostConditions() throws Exception {
applicationContext.close(); //make sure the output file is closed
XMLUnit.setIgnoreWhitespace(true);
XMLAssert.assertXMLEqual(new FileReader(EXPECTED_OUTPUT_FILE), new FileReader(OUTPUT_FILE));
}