Search in sources :

Example 1 with MessageConversationsActions

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

the class SideEffectsTests method beforeAll.

@BeforeAll
public void beforeAll() throws Exception {
    messageConversationsActions = new MessageConversationsActions();
    new LoginActions().loginAsSuperUser();
    setupData();
}
Also used : MessageConversationsActions(org.hisp.dhis.actions.MessageConversationsActions) LoginActions(org.hisp.dhis.actions.LoginActions) BeforeAll(org.junit.jupiter.api.BeforeAll)

Example 2 with MessageConversationsActions

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

the class RuleEngineTests method beforeAll.

@BeforeAll
public void beforeAll() {
    messageConversationsActions = new MessageConversationsActions();
    loginActions.loginAsSuperUser();
    new MetadataActions().importAndValidateMetadata(new File("src/test/resources/tracker/programs_with_program_rules.json"));
}
Also used : MessageConversationsActions(org.hisp.dhis.actions.MessageConversationsActions) MetadataActions(org.hisp.dhis.actions.metadata.MetadataActions) File(java.io.File) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

MessageConversationsActions (org.hisp.dhis.actions.MessageConversationsActions)2 BeforeAll (org.junit.jupiter.api.BeforeAll)2 File (java.io.File)1 LoginActions (org.hisp.dhis.actions.LoginActions)1 MetadataActions (org.hisp.dhis.actions.metadata.MetadataActions)1