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

LMS-1615 adapt to changed role set names

SVN: 16935
parent ac0f7221
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.MsInjection
*/
class RawDataApiFacade implements IRawDataApiFacade
{
private static final String USER_ROLE_SET = "USER";
private static final String USER_ROLE_SET = "SPACE_USER";
private final IRawDataService service;
private final IGeneralInformationService generalInfoService;
private final String sessionToken;
......
......@@ -156,7 +156,7 @@ public class RawDataApiFacadeTest extends AssertJUnit
fail("IllegalStateException expected");
} catch (IllegalStateException ex)
{
assertEquals("Role set USER not known.", ex.getMessage());
assertEquals("Role set SPACE_USER not known.", ex.getMessage());
}
context.assertIsSatisfied();
......@@ -173,7 +173,7 @@ public class RawDataApiFacadeTest extends AssertJUnit
HashSet<Role> set = new HashSet<Role>();
set.add(new Role("R1", true));
set.add(new Role("R2", false));
sets.put("USER", set);
sets.put("SPACE_USER", set);
will(returnValue(sets));
one(generalInfoService).listSpacesWithProjectsAndRoleAssignments(SESSION_TOKEN, null);
......
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