commented Junit Tests

This commit is contained in:
Francesco Mangiacrapa 2021-11-26 16:06:35 +01:00
parent 93c3d1d07d
commit 6840535bc1
1 changed files with 2 additions and 3 deletions

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();