Commits

Anonymous committed fee9e92

Improving test speed, fixing flaky test

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

  • Participants
  • Parent commits 0659cab

Comments (0)

Files changed (2)

src/java/com/opensymphony/xwork2/util/XWorkTestCaseHelper.java

 
     public static ConfigurationManager setUp() throws Exception {
         ConfigurationManager configurationManager = new ConfigurationManager();
+        configurationManager.addConfigurationProvider(new XWorkConfigurationProvider());
         Configuration config = configurationManager.getConfiguration();
         Container container = config.getContainer();
         

src/test/com/opensymphony/xwork2/ActionContextThreadLocalTest.java

 
 	
 	public void testGetContext() throws Exception {
+	    ActionContext.setContext(null);
 		assertNull(ActionContext.getContext());
 	}