use of org.hisp.dhis.actions.metadata.DataElementActions in project dhis2-core by dhis2.
the class DataElementsTest method beforeAll.
@BeforeAll
public void beforeAll() {
dataElementActions = new DataElementActions();
categoryComboActions = new RestApiActions("/categoryCombos");
loginActions = new LoginActions();
loginActions.loginAsSuperUser();
}
use of org.hisp.dhis.actions.metadata.DataElementActions in project dhis2-core by dhis2.
the class MetadataPatchTests method before.
@BeforeAll
public void before() {
dataElementActions = new DataElementActions();
loginActions = new LoginActions();
dataElementGroupActions = new RestApiActions("/dataElementGroups");
sharingActions = new SharingActions();
loginActions.loginAsAdmin();
dataElementId = dataElementActions.create(dataElementActions.body("SUM", "AGGREGATE", "TEXT"));
dataElementGroupId = dataElementGroupActions.create(new JsonObjectBuilder().addProperty("name", DataGenerator.randomString()).addArray("dataElements", new JsonObjectBuilder().addProperty("id", dataElementId).build()).build());
}
use of org.hisp.dhis.actions.metadata.DataElementActions in project dhis2-core by dhis2.
the class EventsDataValueValidationTests method beforeAll.
@BeforeAll
public void beforeAll() {
programActions = new ProgramActions();
sharingActions = new SharingActions();
dataElementActions = new DataElementActions();
loginActions.loginAsSuperUser();
setupData();
}
use of org.hisp.dhis.actions.metadata.DataElementActions in project dhis2-core by dhis2.
the class EventImportDataValueValidationTests method beforeAll.
@BeforeAll
public void beforeAll() throws Exception {
programActions = new ProgramActions();
eventActions = new EventActions();
dataElementActions = new DataElementActions();
new LoginActions().loginAsAdmin();
setupData();
}
Aggregations