Commit 1442bca2 authored by Ate Douma's avatar Ate Douma

CMS-9885: Enable repository daemon module registration for the contenttype...

CMS-9885: Enable repository daemon module registration for the contenttype service when running (testing) from within IntelliJ
- as result, no longer need (nor should) to initialize daemon module manually in unit-test setp
parent 95cef40a
......@@ -35,8 +35,6 @@ import static org.junit.Assert.fail;
public class HippoContentTypeServiceTest extends PluginTest {
private ContentTypeServiceModule serviceModule;
@Override
@Before
public void setUp() throws Exception {
......@@ -50,14 +48,11 @@ public class HippoContentTypeServiceTest extends PluginTest {
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
session.save();
session.refresh(false);
serviceModule = new ContentTypeServiceModule();
serviceModule.initialize(session);
}
@Override
@After
public void tearDown() throws Exception {
serviceModule.shutdown();
if (session != null ) {
if (session.getRootNode().hasNode("hippo:namespaces/test")) {
session.getRootNode().getNode("hippo:namespaces/test").remove();
......
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