svn commit: r1052513 - /lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java

[email protected] Fri, 24 Dec 2010 14:21:43 -0000
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rainer
Date: Fri Dec 24 14:21:43 2010
New Revision: 1052513

URL: http://svn.apache.org/viewvc?rev=1052513&view=rev
Log:
Run NotificationTest.java against "test" publication, not "default".

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java

Modified: lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java?rev=1052513&r1=1052512&r2=1052513&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java Fri Dec 24 14:21:43 2010
@@ -51,7 +51,7 @@ public class NotificationTest extends Ab
         NotificationEventDescriptor descr = new NotificationEventDescriptor(message);
         RepositoryEvent event = RepositoryEventFactory.createEvent(getManager(), session,
                 getLogger(), descr);
-        event.setNodeUri(getFactory().getPublication("default").getArea("authoring").getSite()
+        event.setNodeUri(getFactory().getPublication("test").getArea("authoring").getSite()
                 .getNode("/index").getLink("en").getDocument().getRepositoryNode().getSourceURI());
 
         session.enqueueEvent(event);