[eosc_services] unit test adaptation

This commit is contained in:
Claudio Atzori 2022-05-09 16:05:06 +02:00
parent 89657a0b78
commit 378020e30a
5 changed files with 5 additions and 17 deletions

View File

@ -136,8 +136,8 @@ public class MigrateDbEntitiesApplicationTest {
assertEquals(getValueAsString("releaseenddate", fields), ds.getReleasestartdate());
assertEquals(getValueAsString("missionstatementurl", fields), ds.getMissionstatementurl());
assertEquals(false, ds.getDataprovider().getValue());
assertEquals(false, ds.getServiceprovider().getValue());
assertEquals(null, ds.getDataprovider());
assertEquals(null, ds.getServiceprovider());
assertEquals(getValueAsString("databaseaccesstype", fields), ds.getDatabaseaccesstype());
assertEquals(getValueAsString("datauploadtype", fields), ds.getDatauploadtype());

View File

@ -1,6 +1,6 @@
[
{
"field": "datasource",
"field": "service",
"type": "string",
"value": "openaire____::revistasunicauca"
},

View File

@ -1,6 +1,6 @@
[
{
"field": "datasourceid",
"field": "id",
"type": "string",
"value": "274269ac6f3b::2579-5449"
},
@ -268,13 +268,6 @@
"Research Data"
]
},
{
"field": "providedproducttypes",
"type": "array",
"value": [
]
},
{
"field": "jurisdiction",
"type": "string",
@ -285,11 +278,6 @@
"type": "boolean",
"value": true
},
{
"field": "knowledgegraph",
"type": "boolean",
"value": true
},
{
"field": "contentpolicies",
"type": "array",