commented distructive tests
This commit is contained in:
parent
e6ef944e97
commit
196d362416
|
@ -52,8 +52,8 @@ public class CKANOrganizationTest extends ContextTest {
|
||||||
// ckanOrganization.delete(true);
|
// ckanOrganization.delete(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@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();
|
||||||
|
|
|
@ -628,7 +628,7 @@ public class CKANPackageTest extends ContextTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
@Test
|
// @Test
|
||||||
public void deleteAllTest() {
|
public void deleteAllTest() {
|
||||||
CKANPackage ckanPackage = new CKANPackage();
|
CKANPackage ckanPackage = new CKANPackage();
|
||||||
MultivaluedMap<String, String> mvm = new MultivaluedHashMap<String,String>();
|
MultivaluedMap<String, String> mvm = new MultivaluedHashMap<String,String>();
|
||||||
|
@ -640,16 +640,16 @@ public class CKANPackageTest extends ContextTest {
|
||||||
// logger.debug("{}", res);
|
// logger.debug("{}", res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Ignore
|
@Ignore
|
||||||
@Test
|
// @Test
|
||||||
public void deleteAllItemsInAllOrganizations() {
|
public void deleteAllItemsInAllOrganizations() {
|
||||||
CKANPackage ckanPackage = new CKANPackage();
|
CKANPackage ckanPackage = new CKANPackage();
|
||||||
MultivaluedMap<String, String> mvm = new MultivaluedHashMap<String,String>();
|
MultivaluedMap<String, String> mvm = new MultivaluedHashMap<String,String>();
|
||||||
mvm.add(GCatConstants.OWN_ONLY_QUERY_PARAMETER, "false");
|
mvm.add(GCatConstants.OWN_ONLY_QUERY_PARAMETER, "false");
|
||||||
UriInfo uriInfo = getUriInfo(mvm);
|
UriInfo uriInfo = getUriInfo(mvm);
|
||||||
ckanPackage.setUriInfo(uriInfo);
|
ckanPackage.setUriInfo(uriInfo);
|
||||||
String res = ckanPackage.deleteAll(true);
|
// String res = ckanPackage.deleteAll(true);
|
||||||
logger.debug("{}", res);
|
// logger.debug("{}", res);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue