You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by cs...@apache.org on 2013/02/01 17:58:02 UTC

svn commit: r1441528 - /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java

Author: cschneider
Date: Fri Feb  1 16:58:01 2013
New Revision: 1441528

URL: http://svn.apache.org/viewvc?rev=1441528&view=rev
Log:
SYNCOPE-231 Added test for issue in userService read by name

Modified:
    syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java

Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java?rev=1441528&r1=1441527&r2=1441528&view=diff
==============================================================================
--- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java (original)
+++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java Fri Feb  1 16:58:01 2013
@@ -808,6 +808,13 @@ public class UserTestITCase extends Abst
     }
 
     @Test
+    public void readWithMailAddressAsUserName() {
+        UserTO userTO = createUser(getSampleTO("mail@domain.org"));
+        userTO = userService.read(userTO.getUsername());
+        assertNotNull(userTO);
+    }
+
+    @Test
     public void updateWithouPassword() {
         UserTO userTO = getUniqueSampleTO("updatewithout@password.com");