[jboss-cvs] jboss-seam/src/test/misc/org/jboss/seam/test ...

Gavin King gavin.king at jboss.com
Fri Jun 15 13:24:00 EDT 2007


  User: gavin   
  Date: 07/06/15 13:23:59

  Modified:    src/test/misc/org/jboss/seam/test  PhaseListenerTest.java
  Log:
  fix test
  
  Revision  Changes    Path
  1.37      +4 -2      jboss-seam/src/test/misc/org/jboss/seam/test/PhaseListenerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PhaseListenerTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/test/misc/org/jboss/seam/test/PhaseListenerTest.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -b -r1.36 -r1.37
  --- PhaseListenerTest.java	15 Jun 2007 17:08:17 -0000	1.36
  +++ PhaseListenerTest.java	15 Jun 2007 17:23:59 -0000	1.37
  @@ -1,4 +1,4 @@
  -//$Id: PhaseListenerTest.java,v 1.36 2007/06/15 17:08:17 gavin Exp $
  +//$Id: PhaseListenerTest.java,v 1.37 2007/06/15 17:23:59 gavin Exp $
   package org.jboss.seam.test;
   
   import java.util.ArrayList;
  @@ -41,7 +41,9 @@
   {
      private void installComponents(Context appContext)
      {
  -      appContext.set( Seam.getComponentName(Init.class), new Init() );
  +      Init init = new Init();
  +      init.setTransactionManagementEnabled(false);
  +      appContext.set( Seam.getComponentName(Init.class), init );
         installComponent(appContext, Manager.class);
         installComponent(appContext, ConversationEntries.class);
         installComponent(appContext, FacesPage.class);
  
  
  



More information about the jboss-cvs-commits mailing list