Commit 3497f0b5 authored by Ard Schrijvers's avatar Ard Schrijvers

HSTTWO-4201 make sure during integration tests the hst rootpath property is known

parent 3729cfd4
......@@ -66,7 +66,9 @@ public class AbstractFullRequestCycleTest {
@Before
public void setUp() throws Exception {
componentManager = new SpringComponentManager(new PropertiesConfiguration());
final PropertiesConfiguration configuration = new PropertiesConfiguration();
configuration.setProperty("hst.configuration.rootPath", "/hst:hst");
componentManager = new SpringComponentManager(configuration);
componentManager.setConfigurationResources(getConfigurations());
servletContext.setContextPath("/site");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment