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

100848: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      100759: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         99912: MNT-10999: CMIS: Version is not increased after deleting Content Stream
            - resolved compilation errors of the merge (99877) to 4.2-BUG-FIX:
               -- removed extra declaration of versionService;
               -- added declaration and initialization of context


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-03-31 23:14:38 +00:00
parent 0fbc74c6fc
commit 352c439f98

View File

@@ -157,12 +157,10 @@ public class CMISTest
private DictionaryDAO dictionaryDAO;
private CMISDictionaryService cmisDictionaryService;
private AuditDAO auditDAO;
private ActionService actionService;
private RuleService ruleService;
private AlfrescoCmisServiceFactory factory;
private ActionService actionService;
private RuleService ruleService;
private VersionService versionService;
private AlfrescoCmisServiceFactory factory;
private CMISConnector cmisConnector;
@@ -3066,6 +3064,8 @@ public class CMISTest
@Test
public void testLastVersionOfVersionSeries()
{
CallContext context = new SimpleCallContext("admin", "admin", CmisVersion.CMIS_1_0);
AuthenticationUtil.pushAuthentication();
AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());