use of org.hisp.dhis.actions.metadata.OptionActions in project dhis2-core by dhis2.
the class UsersRemovalTests method beforeEach.
@BeforeEach
public void beforeEach() {
userActions = new UserActions();
optionActions = new OptionActions();
loginActions = new LoginActions();
userName = (DataGenerator.randomString()).toLowerCase();
loginActions.loginAsSuperUser();
userId = userActions.addUser("johnny", "bravo", userName, password);
}
use of org.hisp.dhis.actions.metadata.OptionActions in project dhis2-core by dhis2.
the class MetadataPaginationTest method setUp.
@BeforeEach
public void setUp() {
LoginActions loginActions = new LoginActions();
OptionActions optionActions = new OptionActions();
paginationActions = new MetadataPaginationActions("/optionSets");
loginActions.loginAsSuperUser();
// Creates 100 Option Sets
for (int i = 0; i < 100; i++) {
optionActions.createOptionSet(RandomStringUtils.randomAlphabetic(10), "INTEGER", (String[]) null);
}
}
use of org.hisp.dhis.actions.metadata.OptionActions in project dhis2-core by dhis2.
the class OptionSetTests method beforeAll.
@BeforeAll
public void beforeAll() {
optionActions = new OptionActions();
loginActions = new LoginActions();
loginActions.loginAsSuperUser();
}
Aggregations