james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [08/24] james-project git commit: JAMES-2366 Sanitize a bit GroupRoutesTest
Date Fri, 06 Apr 2018 13:20:27 GMT
JAMES-2366 Sanitize a bit GroupRoutesTest


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ba306837
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ba306837
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/ba306837

Branch: refs/heads/master
Commit: ba306837bffe7735ac18a0be5d675fda9fc602a2
Parents: 150663f
Author: benwa <btellier@linagora.com>
Authored: Mon Apr 2 10:08:32 2018 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Fri Apr 6 15:04:48 2018 +0200

----------------------------------------------------------------------
 .../apache/james/webadmin/routes/GroupsRoutesTest.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/ba306837/server/protocols/webadmin/webadmin-data/src/test/java/org/apache/james/webadmin/routes/GroupsRoutesTest.java
----------------------------------------------------------------------
diff --git a/server/protocols/webadmin/webadmin-data/src/test/java/org/apache/james/webadmin/routes/GroupsRoutesTest.java
b/server/protocols/webadmin/webadmin-data/src/test/java/org/apache/james/webadmin/routes/GroupsRoutesTest.java
index acd0005..e412b44 100644
--- a/server/protocols/webadmin/webadmin-data/src/test/java/org/apache/james/webadmin/routes/GroupsRoutesTest.java
+++ b/server/protocols/webadmin/webadmin-data/src/test/java/org/apache/james/webadmin/routes/GroupsRoutesTest.java
@@ -81,8 +81,8 @@ class GroupsRoutesTest {
         webAdminServer.await();
 
         RestAssured.requestSpecification = WebAdminUtils.buildRequestSpecification(webAdminServer)
-            .setBasePath(GroupsRoutes.ROOT_PATH)
-            .log(LogDetail.ALL)
+            .setBasePath("address/groups")
+            .log(LogDetail.METHOD)
             .build();
     }
 
@@ -120,7 +120,7 @@ class GroupsRoutesTest {
         }
 
         @Test
-        void getGroupsShouldListExistingGroupsInOrder() {
+        void getGroupsShouldListExistingGroupsInAlphabeticOrder() {
             given()
                 .put(GROUP2 + SEPARATOR + USER_A);
 
@@ -141,7 +141,7 @@ class GroupsRoutesTest {
         }
 
         @Test
-        void getUnregisteredGroupShouldReturnNotFound() {
+        void getNotRegisteredGroupShouldReturnNotFound() {
             Map<String, Object> errors = when()
                 .get("unknown@domain.travel")
             .then()
@@ -318,7 +318,7 @@ class GroupsRoutesTest {
         }
 
         @Test
-        void getGroupShouldReturnMembersInOrder() {
+        void getGroupShouldReturnMembersInAlphabeticOrder() {
             given()
                 .put(GROUP1 + SEPARATOR + USER_B);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message