/** * Tests icat admin on valid Dataset for update keyword * * <p>ACTION_REMOVE - Y is same create id as user */ @Test public void testIcatAdminRemoveDatasetParameterOnDataset2() throws ICATAPIException { log.info( "Testing user: "******" for remove DatasetParameter on Dataset Id: " + VALID_INVESTIGATION_ID_FOR_GATEKEEPER_TEST); Dataset dataset = getDataset(true); DatasetParameter dsp = new DatasetParameter(); dsp.setCreateId(ICAT_ADMIN_USER); dsp.setDataset(dataset); GateKeeper.performAuthorisation(ICAT_ADMIN_USER, dsp, AccessType.REMOVE, em); // no exception assertTrue("This should be true", true); }