Added test to create all contexts

master
Luca Frosini 4 years ago
parent 02a6e1f830
commit 16dafb77a8

@ -30,6 +30,15 @@ public class DataBaseCreator extends ContextTest {
}
//@Test
public void createAllContext() throws Exception {
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
ContextCreator contextCreator = new ContextCreator();
contextCreator.all();
}
protected Context create(Context context) throws ResourceRegistryException, IOException {
ContextManagement contextManagement = new ContextManagement();
contextManagement.setJson(ElementMapper.marshal(context));

Loading…
Cancel
Save