Search in sources :

Example 1 with DataValueActions

use of org.hisp.dhis.actions.aggregate.DataValueActions in project dhis2-core by dhis2.

the class DataImportTest method before.

@BeforeAll
public void before() {
    dataValueSetActions = new DataValueSetActions();
    metadataActions = new MetadataActions();
    dataValueActions = new DataValueActions();
    systemActions = new SystemActions();
    new LoginActions().loginAsSuperUser();
    metadataActions.importMetadata(new File("src/test/resources/aggregate/metadata.json"), "async=false").validate().statusCode(200);
}
Also used : SystemActions(org.hisp.dhis.actions.SystemActions) DataValueSetActions(org.hisp.dhis.actions.aggregate.DataValueSetActions) DataValueActions(org.hisp.dhis.actions.aggregate.DataValueActions) MetadataActions(org.hisp.dhis.actions.metadata.MetadataActions) LoginActions(org.hisp.dhis.actions.LoginActions) File(java.io.File) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

File (java.io.File)1 LoginActions (org.hisp.dhis.actions.LoginActions)1 SystemActions (org.hisp.dhis.actions.SystemActions)1 DataValueActions (org.hisp.dhis.actions.aggregate.DataValueActions)1 DataValueSetActions (org.hisp.dhis.actions.aggregate.DataValueSetActions)1 MetadataActions (org.hisp.dhis.actions.metadata.MetadataActions)1 BeforeAll (org.junit.jupiter.api.BeforeAll)1