build fix: fixed integration test now that destination transfer test is xml rather than plain text.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2010-09-02 15:17:34 +00:00
parent 853efa586a
commit 846d79c06e

View File

@@ -834,9 +834,8 @@ public class ReplicationServiceIntegrationTest extends TestCase
contentService.getReader(remoteReport, ContentModel.PROP_CONTENT);
String remoteReportContent = remoteReader.getContentString();
// TODO: update these tests when transfer report is converted to XML
assertFalse("XML found in:\n" + remoteReportContent, remoteReportContent.contains("<?xml"));
assertTrue("Report Status not found in:\n" + remoteReportContent, remoteReportContent.contains("Status update: COMPLETE"));
assertTrue("XML not found in:\n" + remoteReportContent, remoteReportContent.contains("<?xml"));
assertTrue("Report Status not found in:\n" + remoteReportContent, remoteReportContent.contains("state=\"COMPLETE\""));
txn.commit();
}