Skip to content

Commit

Permalink
#11303: Verify original root is successfully reestablished
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Laguna authored and Daniel Laguna committed May 1, 2017
1 parent 7d9c0f4 commit 563d69e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import org.mockito.Mockito;

import static org.hamcrest.MatcherAssert.assertThat;

Expand Down Expand Up @@ -51,6 +50,8 @@ public void test02CustomVelocityPath() throws Exception {

// restore the default value (used on other tests)
Config.setProperty("VELOCITY_ROOT", originalVelocityPath);
String velocityRoot = Config.getStringProperty("VELOCITY_ROOT");
assertThat("Path velocity root has been successfully restored", originalVelocityPath.equals(velocityRoot));
}

}

0 comments on commit 563d69e

Please sign in to comment.