Commits

mrdon  committed 596b84f

Fixed test initialization

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1299e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits a8e1cd4

Comments (0)

Files changed (1)

File src/test/com/opensymphony/xwork2/validator/StringValidatorTest.java

     protected void setUp() throws Exception {
         ValueStack stack = ValueStackFactory.getFactory().createValueStack();
         ActionContext.setContext(new ActionContext(stack.getContext()));
-        ObjectFactory.setObjectFactory(new ObjectFactory());
 
         configurationManager = new ConfigurationManager();
         configurationManager.addConfigurationProvider(new MockConfigurationProvider());
         configurationManager.reload();
+        ObjectFactory.setObjectFactory(new ObjectFactory());
     }
 }