Fixed test case

This commit is contained in:
Francesco Mangiacrapa 2022-03-17 16:46:50 +01:00
parent 9f3bd01da0
commit 1fd3cae333
1 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import org.gcube.application.geoportalcommon.ConvertToDataValueObjectModel;
import org.gcube.application.geoportalcommon.geoportal.GeoportalClientCaller;
import org.gcube.application.geoportalcommon.geoportal.UseCaseDescriptorCaller;
import org.gcube.application.geoportalcommon.shared.geoportal.GEOPORTAL_DATA_HANDLER;
import org.gcube.application.geoportalcommon.shared.geoportal.UseCaseDescriptorDV;
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.scope.api.ScopeProvider;
import org.junit.Before;
@ -21,7 +22,7 @@ public class UCD_Tests {
// private static String TOKEN = ""; //preVRE
private static String CONTEXT = "/gcube/devsec/devVRE";
private static String TOKEN = "8e74a17c-92f1-405a-b591-3a6090066248-98187548"; // devVRE
private static String TOKEN = ""; // devVRE
private static String PROFILE_ID = "profiledConcessioni";
@ -76,7 +77,8 @@ public class UCD_Tests {
int i = 0;
for (UseCaseDescriptor useCaseDescriptor : listOfUCD) {
System.out.println(++i + ") " + useCaseDescriptor);
ConvertToDataValueObjectModel.toUseCaseDescriptorDV(useCaseDescriptor, null);
UseCaseDescriptorDV ucdDV = ConvertToDataValueObjectModel.toUseCaseDescriptorDV(useCaseDescriptor, null);
System.out.println("returned "+ucdDV);
}
}