Commits

Vincent Choy [Atlassian] committed e1eb838

Changed AbstractIntegrationTestCase to accept default port of 1990 and contextpath of /confluence.

  • Participants
  • Parent commits 72717bf
  • Tags step3

Comments (0)

Files changed (1)

File src/test/java/it/AbstractIntegrationTestCase.java

         // this is deceiving: the func test library checks for the system properties
         // *before* checking in this properties file for these values, so these
         // properties are technically ignored
-        props.put("confluence.webapp.port", Integer.parseInt(System.getProperty("http.port")));
-        props.put("confluence.webapp.context.path", System.getProperty("context.path"));
+        props.put("confluence.webapp.port", Integer.parseInt(System.getProperty("http.port","1990")));
+        props.put("confluence.webapp.context.path", System.getProperty("context.path","/confluence"));
 
         props.put("confluence.auth.admin.username", "admin");
         props.put("confluence.auth.admin.password", "admin");