Skip to content
Snippets Groups Projects
Commit 597e2310 authored by felmer's avatar felmer
Browse files

LMS-2587 test testObserverHasNoReadPermissions removed because observer has got read permission

SVN: 23429
parent b091c376
No related branches found
No related tags found
No related merge requests found
......@@ -206,16 +206,6 @@ public class OpenbisServiceFacadeTest extends SystemTestCase
serviceFacade.putDataSet(newDataset, exampleDataSet);
}
@Test(dependsOnMethods = "testPutDataSet", expectedExceptions = AuthorizationFailureException.class)
public void testObserverHasNoReadPermissions() throws Exception
{
serviceFacade = createServiceFacade("observer");
SimpleDataSetInformationDTO dataSetInfo = getCodeOfLatestDataSet();
String code = dataSetInfo.getDataSetCode();
DataSet dataSet = serviceFacade.getDataSet(code);
dataSet.listFiles("/", true);
}
private IOpenbisServiceFacade createServiceFacade(String userName)
{
return OpenbisServiceFacadeFactory.tryCreate(userName, "a", OPENBIS_URL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment