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.
  • Loading branch information
Daniel Laguna authored and Daniel Laguna committed Apr 28, 2017
1 parent b831824 commit 290b84f
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 290b84f

Please sign in to comment.