diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacade.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacade.java index 29b9631f2a24e29d5772e14df1c9788013632b0b..6840abef4723434682527aece90fda91350b607a 100644 --- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacade.java +++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacade.java @@ -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; diff --git a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacadeTest.java b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacadeTest.java index df0f329ec33dbefeaafe4d2a136d4d8565a19f18..c396731b46582fd81b5799d3128920969aca6255 100644 --- a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacadeTest.java +++ b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/client/api/v1/RawDataApiFacadeTest.java @@ -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);