diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-08 11:07:05 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-08 17:18:44 +0100 |
commit | 814b9c4e3147f541ee922f413a391c45809a5be1 (patch) | |
tree | ae87a96650eb656828bbf0b8a004770280929dab | |
parent | 1ca431332de0790ab0d5f24454c41f398ee2a77f (diff) | |
download | sonarqube-814b9c4e3147f541ee922f413a391c45809a5be1.tar.gz sonarqube-814b9c4e3147f541ee922f413a391c45809a5be1.zip |
Rename tests of ProvisioningPermissionTest
-rw-r--r-- | it/it-tests/src/test/java/it/authorisation/ProvisioningPermissionTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/it/it-tests/src/test/java/it/authorisation/ProvisioningPermissionTest.java b/it/it-tests/src/test/java/it/authorisation/ProvisioningPermissionTest.java index 40fbaf322e8..cff8b618c69 100644 --- a/it/it-tests/src/test/java/it/authorisation/ProvisioningPermissionTest.java +++ b/it/it-tests/src/test/java/it/authorisation/ProvisioningPermissionTest.java @@ -60,7 +60,7 @@ public class ProvisioningPermissionTest { private static final String USER_WITH_PROVISIONING = "user-with-provisioning"; private static final String USER_WITHOUT_PROVISIONING = "user-without-provisioning"; - static PermissionsService permissionsWsClient; + private static PermissionsService permissionsWsClient; @BeforeClass public static void init() { @@ -95,7 +95,7 @@ public class ProvisioningPermissionTest { * SONAR-4709 */ @Test - public void should_not_be_able_to_provision_project() { + public void organization_administrator_cannot_provision_project_if_he_doesnt_have_provisioning_permission() { runSelenese(orchestrator, "/authorisation/ProvisioningPermissionTest/should-not-be-able-to-provision-project.html"); } @@ -104,7 +104,7 @@ public class ProvisioningPermissionTest { * SONAR-4709 */ @Test - public void should_be_able_to_provision_project() { + public void organization_administrator_can_provision_project_if_he_has_provisioning_permission() { runSelenese(orchestrator, "/authorisation/ProvisioningPermissionTest/should-be-able-to-provision-project.html"); } @@ -113,7 +113,7 @@ public class ProvisioningPermissionTest { * SONAR-4709 */ @Test - public void should_be_allowed_on_ws_with_permission() { + public void user_can_provision_project_through_ws_if_he_has_provisioning_permission() { final String newKey = "new-project"; final String newName = "New Project"; @@ -131,7 +131,7 @@ public class ProvisioningPermissionTest { * SONAR-4709 */ @Test - public void should_not_be_allowed_on_ws_without_permission() { + public void user_cannot_provision_project_through_ws_if_he_doesnt_have_provisioning_permission() { thrown.expect(HttpException.class); thrown.expectMessage("403"); |