syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: [SYNCOPE-667] Changing test according to Guido's comments
Date Wed, 13 May 2015 10:09:10 GMT
Repository: syncope
Updated Branches:
  refs/heads/SYNCOPE-667 36bec3875 -> 0e1864724


[SYNCOPE-667] Changing test according to Guido's comments


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0e186472
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0e186472
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0e186472

Branch: refs/heads/SYNCOPE-667
Commit: 0e1864724baf07f1d21eeb0addef1365cf3adb43
Parents: 36bec38
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed May 13 12:09:00 2015 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed May 13 12:09:00 2015 +0200

----------------------------------------------------------------------
 core/pom.xml                                                 | 2 +-
 .../apache/syncope/core/rest/AuthenticationTestITCase.java   | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/0e186472/core/pom.xml
----------------------------------------------------------------------
diff --git a/core/pom.xml b/core/pom.xml
index aa136c5..b613270 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -1034,7 +1034,7 @@ under the License.
       </dependencies>
       
       <build>
-        <defaultGoal>clean verify cargo:run</defaultGoal>
+        <defaultGoal>clean verify</defaultGoal>
 
         <plugins>
           <plugin>

http://git-wip-us.apache.org/repos/asf/syncope/blob/0e186472/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
b/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
index f715c69..60d0dd9 100644
--- a/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
+++ b/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
@@ -230,13 +230,7 @@ public class AuthenticationTestITCase extends AbstractTest {
         matchedUsers = userService3.search(
                 SyncopeClient.getUserSearchConditionBuilder().isNotNull("loginDate").query());
         assertNotNull(matchedUsers);
-
-        userIds = new HashSet<Long>(matchedUsers.getResult().size());
-
-        for (UserTO user : matchedUsers.getResult()) {
-            userIds.add(user.getId());
-        }
-        assertFalse(userIds.contains(1L));
+        assertTrue(matchedUsers.getResult().isEmpty());
     }
 
     @Test


Mime
View raw message