Author: pete.muir(a)jboss.org
Date: 2008-05-21 08:49:45 -0400 (Wed, 21 May 2008)
New Revision: 8253
Modified:
trunk/src/test/unit/org/jboss/seam/test/unit/HomeTest.java
Log:
Fix broken test
Modified: trunk/src/test/unit/org/jboss/seam/test/unit/HomeTest.java
===================================================================
--- trunk/src/test/unit/org/jboss/seam/test/unit/HomeTest.java 2008-05-21 12:31:08 UTC
(rev 8252)
+++ trunk/src/test/unit/org/jboss/seam/test/unit/HomeTest.java 2008-05-21 12:49:45 UTC
(rev 8253)
@@ -6,6 +6,7 @@
import org.jboss.seam.framework.EntityHome;
import org.jboss.seam.framework.HibernateEntityHome;
import org.jboss.seam.framework.Home;
+import org.jboss.seam.international.StatusMessages;
import org.jboss.seam.test.unit.entity.SimpleEntity;
import org.testng.annotations.Test;
@@ -118,10 +119,10 @@
public class SimpleEntityHomeWithMessageStubs extends Home<EntityManager,
SimpleEntity> {
- private FacesMessages facesMessages;
+ private StatusMessages statusMessages;
public SimpleEntityHomeWithMessageStubs() {
- facesMessages = new FacesMessages();
+ statusMessages = new FacesMessages();
}
public void triggerCreatedMessage() {
@@ -135,9 +136,9 @@
}
@Override
- protected FacesMessages getFacesMessages()
+ protected StatusMessages getStatusMessages()
{
- return facesMessages;
+ return statusMessages;
}
@Override
Show replies by date