[eosc_services] unit test adaptation

doiboost_refactor
Claudio Atzori 2 years ago
parent 89657a0b78
commit 378020e30a

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

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

@ -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",

Loading…
Cancel
Save