Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

95993: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      95821: Reverse Merge 5.0.N (5.0.1)
         <<Not required>>
         95738: MNT-12995: Items are not accessible using the urls received via IMAP
         Modified the test to correspond with the new IMAP message.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@96022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-02-04 07:44:52 +00:00
parent 8f772566bd
commit b0d61a119b

View File

@@ -311,9 +311,7 @@ public class ImapMessageTest extends TestCase
NodeRef contentNode = findNode(companyHomePathInStore + TEST_FILE); NodeRef contentNode = findNode(companyHomePathInStore + TEST_FILE);
UserTransaction txn = transactionService.getUserTransaction(); UserTransaction txn = transactionService.getUserTransaction();
txn.begin(); txn.begin();
// modified the new name as the BASE64Decoder may not throw the IOException fileFolderService.rename(contentNode, "testtesttesttesttesttesttesttesttesttest");
// see MNT-12995
fileFolderService.rename(contentNode, "testtesttesttesttesttesttesttesttesttest1");
txn.commit(); txn.commit();
// Read second message part // Read second message part