Commit 9b109182 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Minor fixes after datamodel changes

parent 6b54c130
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
+10 −18
Original line number Diff line number Diff line
{
    "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