forked from D-Net/dnet-hadoop
[eosc_services] unit test adaptation
This commit is contained in:
parent
89657a0b78
commit
378020e30a
|
@ -136,8 +136,8 @@ public class MigrateDbEntitiesApplicationTest {
|
||||||
assertEquals(getValueAsString("releaseenddate", fields), ds.getReleasestartdate());
|
assertEquals(getValueAsString("releaseenddate", fields), ds.getReleasestartdate());
|
||||||
assertEquals(getValueAsString("missionstatementurl", fields), ds.getMissionstatementurl());
|
assertEquals(getValueAsString("missionstatementurl", fields), ds.getMissionstatementurl());
|
||||||
|
|
||||||
assertEquals(false, ds.getDataprovider().getValue());
|
assertEquals(null, ds.getDataprovider());
|
||||||
assertEquals(false, ds.getServiceprovider().getValue());
|
assertEquals(null, ds.getServiceprovider());
|
||||||
|
|
||||||
assertEquals(getValueAsString("databaseaccesstype", fields), ds.getDatabaseaccesstype());
|
assertEquals(getValueAsString("databaseaccesstype", fields), ds.getDatabaseaccesstype());
|
||||||
assertEquals(getValueAsString("datauploadtype", fields), ds.getDatauploadtype());
|
assertEquals(getValueAsString("datauploadtype", fields), ds.getDatauploadtype());
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"field": "datasource",
|
"field": "service",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"value": "openaire____::revistasunicauca"
|
"value": "openaire____::revistasunicauca"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"field": "datasourceid",
|
"field": "id",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"value": "274269ac6f3b::2579-5449"
|
"value": "274269ac6f3b::2579-5449"
|
||||||
},
|
},
|
||||||
|
@ -268,13 +268,6 @@
|
||||||
"Research Data"
|
"Research Data"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"field": "providedproducttypes",
|
|
||||||
"type": "array",
|
|
||||||
"value": [
|
|
||||||
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"field": "jurisdiction",
|
"field": "jurisdiction",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -285,11 +278,6 @@
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"value": true
|
"value": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"field": "knowledgegraph",
|
|
||||||
"type": "boolean",
|
|
||||||
"value": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"field": "contentpolicies",
|
"field": "contentpolicies",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
Loading…
Reference in New Issue