improved test log
This commit is contained in:
parent
190f500684
commit
e6ef944e97
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue