Ard Schrijvers pushed to branch master at cms-community / hippo-site-toolkit


Commits:
3497f0b5 by Ard Schrijvers at 2018-02-06T13:07:18+01:00
HSTTWO-4201 make sure during integration tests the hst rootpath property is 
known

- - - - -


1 changed file:

- 
client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java


Changes:

=====================================
client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
=====================================
--- 
a/client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
+++ 
b/client-modules/page-composer/src/test/java/org/hippoecm/hst/pagecomposer/jaxrs/AbstractFullRequestCycleTest.java
@@ -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");



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/3497f0b566544e0669ed8c268bd6980d442fdb70

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/commit/3497f0b566544e0669ed8c268bd6980d442fdb70
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to