improved test log

This commit is contained in:
Luca Frosini 2021-12-07 17:18:09 +01:00
parent 190f500684
commit e6ef944e97
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class CKANOrganizationTest extends ContextTest {
} }
@Ignore @Ignore
@Test // @Test
public void deleteAllOrganizations() throws Exception { public void deleteAllOrganizations() throws Exception {
ContextTest.setContextByName("/gcube"); ContextTest.setContextByName("/gcube");
CKANOrganization ckanOrganization = new CKANOrganization(); CKANOrganization ckanOrganization = new CKANOrganization();
@ -64,7 +64,7 @@ public class CKANOrganizationTest extends ContextTest {
JsonNode organizations = (ArrayNode) mapper.readTree(ret); JsonNode organizations = (ArrayNode) mapper.readTree(ret);
for(JsonNode jn : organizations) { for(JsonNode jn : organizations) {
ckanOrganization.setName(jn.asText()); ckanOrganization.setName(jn.asText());
logger.debug("Going to delete {}", jn.asText()); logger.debug("Going to delete organization '{}'", jn.asText());
try { try {
// ckanOrganization.delete(true); // ckanOrganization.delete(true);
}catch (Exception e) { }catch (Exception e) {