mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -834,9 +834,8 @@ public class ReplicationServiceIntegrationTest extends TestCase
|
|||||||
contentService.getReader(remoteReport, ContentModel.PROP_CONTENT);
|
contentService.getReader(remoteReport, ContentModel.PROP_CONTENT);
|
||||||
String remoteReportContent = remoteReader.getContentString();
|
String remoteReportContent = remoteReader.getContentString();
|
||||||
|
|
||||||
// TODO: update these tests when transfer report is converted to XML
|
assertTrue("XML not found in:\n" + remoteReportContent, remoteReportContent.contains("<?xml"));
|
||||||
assertFalse("XML found in:\n" + remoteReportContent, remoteReportContent.contains("<?xml"));
|
assertTrue("Report Status not found in:\n" + remoteReportContent, remoteReportContent.contains("state=\"COMPLETE\""));
|
||||||
assertTrue("Report Status not found in:\n" + remoteReportContent, remoteReportContent.contains("Status update: COMPLETE"));
|
|
||||||
|
|
||||||
txn.commit();
|
txn.commit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user