use of org.folio.rest.support.client.LoanTypesClient in project mod-inventory-storage by folio-org.
the class InstanceStorageTest method beforeAny.
@BeforeClass
public static void beforeAny() throws MalformedURLException, InterruptedException, ExecutionException, TimeoutException {
StorageTestSuite.deleteAll(itemsStorageUrl(""));
StorageTestSuite.deleteAll(holdingsStorageUrl(""));
StorageTestSuite.deleteAll(instancesStorageUrl(""));
StorageTestSuite.deleteAll(locationsStorageUrl(""));
StorageTestSuite.deleteAll(locInstitutionStorageUrl(""));
StorageTestSuite.deleteAll(locCampusStorageUrl(""));
StorageTestSuite.deleteAll(locLibraryStorageUrl(""));
StorageTestSuite.deleteAll(materialTypesStorageUrl(""));
StorageTestSuite.deleteAll(loanTypesStorageUrl(""));
bookMaterialTypeId = UUID.fromString(new MaterialTypesClient(client, materialTypesStorageUrl("")).create("book"));
mainLibraryLocationId = LocationsTest.createLocation(null, "Main Library (Inst)", "I/M");
annexLocationId = LocationsTest.createLocation(null, "Annex Library (Inst)", "I/A");
canCirculateLoanTypeId = UUID.fromString(new LoanTypesClient(client, loanTypesStorageUrl("")).create("Can Circulate"));
}
Aggregations