Search in sources :

Example 1 with UaaActions

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

the class LoginTests method preconditions.

@BeforeAll
public void preconditions() {
    oauth2Clients = new RestApiActions("/oAuth2Clients");
    uaaActions = new UaaActions();
    loginActions = new LoginActions();
    userActions = new UserActions();
    loginActions.loginAsSuperUser();
    addOAuthClient();
    userActions.addUser(userName, password);
}
Also used : RestApiActions(org.hisp.dhis.actions.RestApiActions) UaaActions(org.hisp.dhis.actions.UaaActions) UserActions(org.hisp.dhis.actions.UserActions) LoginActions(org.hisp.dhis.actions.LoginActions) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

LoginActions (org.hisp.dhis.actions.LoginActions)1 RestApiActions (org.hisp.dhis.actions.RestApiActions)1 UaaActions (org.hisp.dhis.actions.UaaActions)1 UserActions (org.hisp.dhis.actions.UserActions)1 BeforeAll (org.junit.jupiter.api.BeforeAll)1