[jboss-cvs] JBossAS SVN: r61060 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 2 17:38:25 EST 2007


Author: bdecoste
Date: 2007-03-02 17:38:24 -0500 (Fri, 02 Mar 2007)
New Revision: 61060

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java
Log:
[EJBTHREE-824] missed updating a test with the new default home interface jndi binding

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java	2007-03-02 22:03:25 UTC (rev 61059)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/stateful/unit/RemoteUnitTestCase.java	2007-03-02 22:38:24 UTC (rev 61060)
@@ -147,7 +147,7 @@
       SecurityAssociation.setPrincipal(new SimplePrincipal("somebody"));
       SecurityAssociation.setCredential("password".toCharArray());
       
-      StatefulHome home = (StatefulHome)getInitialContext().lookup("StatefulHome");
+      StatefulHome home = (StatefulHome)getInitialContext().lookup("StatefulBean/home");
       assertNotNull(home);
       javax.ejb.EJBObject stateful = (javax.ejb.EJBObject)home.create(); 
       assertNotNull(stateful);
@@ -235,7 +235,7 @@
       SecurityAssociation.setPrincipal(new SimplePrincipal("somebody"));
       SecurityAssociation.setCredential("password".toCharArray());
       
-      StatefulHome home = (StatefulHome)getInitialContext().lookup("StatefulHome");
+      StatefulHome home = (StatefulHome)getInitialContext().lookup("StatefulBean/home");
       assertNotNull(home);
       ExtendedState state = new ExtendedState("init");
       Stateful stateful = home.create(state);




More information about the jboss-cvs-commits mailing list