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