mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2026-09-16 18:13:21 +00:00
* Update all tas packages, now with Dependabot enabled dependency.tas-utility.version>3.0.17 dependency.tas-restapi.version>1.26 dependency.tas-cmis.version>1.12 dependency.tas-email.version>1.7 dependency.tas-webdav.version>1.4 dependency.tas-ftp.version>1.4 Cherry-picked from acs-packaging PR #776
This commit is contained in:
@@ -9,6 +9,7 @@ import org.apache.chemistry.opencmis.commons.data.AclCapabilities;
|
||||
import org.apache.chemistry.opencmis.commons.data.RepositoryCapabilities;
|
||||
import org.apache.chemistry.opencmis.commons.data.RepositoryInfo;
|
||||
import org.apache.chemistry.opencmis.commons.enums.BindingType;
|
||||
import org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException;
|
||||
import org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException;
|
||||
import org.apache.chemistry.opencmis.commons.exceptions.CmisUnauthorizedException;
|
||||
import org.testng.Assert;
|
||||
@@ -89,7 +90,7 @@ public class RepositoryInfoTests extends CmisTest
|
||||
cmisApi.authenticateUser(invalidUser).getRepositoryInfo();
|
||||
}
|
||||
|
||||
@Test(groups = { TestGroup.REGRESSION, TestGroup.CMIS}, expectedExceptions = {NoSuchMethodError.class}, expectedExceptionsMessageRegExp = "^org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException.*")
|
||||
@Test(groups = { TestGroup.REGRESSION, TestGroup.CMIS}, expectedExceptions = {CmisConnectionException.class})
|
||||
@TestRail(section = { "cmis-api" }, executionType = ExecutionType.REGRESSION, description = "Verify that invalid user cannot get repositories")
|
||||
public void userCannotGetRepositoriesUsingWrongBrowserUrl() throws Exception
|
||||
{
|
||||
|
||||
@@ -94,7 +94,7 @@ public class ImapCopyMessagesTests extends EmailTest
|
||||
@TestRail(section = { TestGroup.PROTOCOLS, TestGroup.IMAP }, executionType = ExecutionType.REGRESSION,
|
||||
description = "Verify user cannot copy file via IMAP client to a location where you don't have permissions")
|
||||
@Test(groups = { TestGroup.PROTOCOLS, TestGroup.IMAP, TestGroup.CORE }, expectedExceptions = MessagingException.class,
|
||||
expectedExceptionsMessageRegExp = ".*A4 NO APPEND failed. Can't append message - Permission denied.*")
|
||||
expectedExceptionsMessageRegExp = ".*NO APPEND failed. Can't append message - Permission denied.*")
|
||||
public void userCannotCopyFileWhereNoPermissions() throws Exception
|
||||
{
|
||||
testFolder = dataContent.usingUser(testUser).usingSite(testSite).createFolder();
|
||||
|
||||
Reference in New Issue
Block a user