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