feature_22286 #6

Merged
francesco.mangiacrapa merged 16 commits from feature_22286 into master 2022-01-13 17:02:39 +01:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 6840535bc1 - Show all commits

View File

@ -12,7 +12,6 @@ import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.portlets.user.geoportaldataentry.server.config.GNARoleRitghtsConfigReader;
import org.gcube.portlets.user.geoportaldataentry.shared.RoleRights;
import org.gcube.portlets.user.geoportaldataentry.shared.UserRights;
import org.junit.Before;
import org.junit.Test;
@ -36,7 +35,7 @@ public class TestClass {
// getListOfConcessioni();
@Before
//@Before
public void init() {
ScopeProvider.instance.set(CONTEXT);
SecurityTokenProvider.instance.set(TOKEN);
@ -60,7 +59,7 @@ public class TestClass {
}
}
@Test
//@Test
public void readUserRights() throws Exception {
new GNARoleRitghtsConfigReader();
List<RoleRights> listUserRights = GNARoleRitghtsConfigReader.readRoleRightsConfig();