svn commit: r1057305 - /lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java
[email protected] Mon, 10 Jan 2011 18:33:39 -0000
| Newsgroups | gmane.comp.cms.lenya.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: rainer
Date: Mon Jan 10 18:33:39 2011
New Revision: 1057305
URL: http://svn.apache.org/viewvc?rev=1057305&view=rev
Log:
Run NotificationTest.java against "test" publication, not "default".
Modified:
lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java
Modified: lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java?rev=1057305&r1=1057304&r2=1057305&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java (original)
+++ lenya/branches/BRANCH_2_1_X/src/modules/notification/java/test/org/apache/lenya/notification/NotificationTest.java Mon Jan 10 18:33:39 2011
@@ -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);