Skip to content
Snippets Groups Projects
Commit ff3c2c4e authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Minor fixes after datamodel changes

parent ac677429
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ public class CreateNodeControllerTest {
verify(controller).createNode(
argThat(node -> {
UnstructuredDataNode udn = (UnstructuredDataNode) node;
Property property = udn.getProperties().getProperty().get(0);
Property property = udn.getProperties().get(0);
return "vos:UnstructuredDataNode".equals(udn.getType())
&& "test value".equals(property.getValue())
&& "ivo://ivoa.net/vospace/core#description".equals(property.getUri());
......
{
"properties": {
"property": [
"properties": [
{
"value": "test value",
"uri": "ivo://ivoa.net/vospace/core#description",
"readOnly": false
}
]
},
],
"type": "vos:UnstructuredDataNode",
"uri": "vos://example.com!vospace/mydata1",
"accepts": {
"view": []
},
"provides": {
"view": []
},
"capabilities": {
"capability": []
},
"accepts": [],
"provides": [],
"capabilities": [],
"busy": false
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment