incubator-syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1309003 - /incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java
Date Tue, 03 Apr 2012 15:57:20 GMT
Author: ilgrosso
Date: Tue Apr  3 15:57:20 2012
New Revision: 1309003

URL: http://svn.apache.org/viewvc?rev=1309003&view=rev
Log:
[SYNCOPE-41] Updating NotificationTest to reflect the changed interface

Modified:
    incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java

Modified: incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java?rev=1309003&r1=1309002&r2=1309003&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java
(original)
+++ incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java
Tue Apr  3 15:57:20 2012
@@ -71,6 +71,7 @@ import org.syncope.core.persistence.dao.
 import org.syncope.core.rest.controller.TaskController;
 import org.syncope.core.rest.controller.UserController;
 import org.syncope.core.scheduling.NotificationJob;
+import org.syncope.types.IntMappingType;
 
 @RunWith(SpringJUnit4ClassRunner.class)
 @ContextConfiguration(locations = {
@@ -257,6 +258,9 @@ public class NotificationTest {
         notification.setRecipients(NodeCond.getLeafCond(membCond));
         notification.setSelfAsRecipient(true);
 
+        notification.setRecipientAttrName("email");
+        notification.setRecipientAttrType(IntMappingType.UserSchema);
+
         Random random = new Random(System.currentTimeMillis());
         String sender = "syncopetest-" + random.nextLong() + "@syncope-idm.org";
         notification.setSender(sender);



Mime
View raw message