Skip to content

Commit

Permalink
#11303: Unit test modified so it restablishes the default property of…
Browse files Browse the repository at this point in the history
… VELOCITY_ROOT, required for other tests. (#11438)
  • Loading branch information
danlaguna authored and dsilvam committed Apr 28, 2017
1 parent b831824 commit d6dbd93
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public void test02CustomVelocityPath() throws Exception {

Assert.assertNotNull(customVelocityPath);
assertThat("Path ends with /WEB-INF/customvelocity", customVelocityPath.endsWith("/WEB-INF/customvelocity"));

// restore the default value (used on other tests)
Config.setProperty("VELOCITY_ROOT", "/WEB-INF/velocity");
}

}

0 comments on commit d6dbd93

Please sign in to comment.