Skip to content

Failed

org.appng.core.controller.rest.openapi.OpenApiTest.testDataSource

Failing for the past 2 builds (Since Failed#49 )
Took 83 ms.

Error Message

expected:<...         "value" : "[entity1"
        },
        "integerValue" : {
          "name" : "integerValue",
          "value" : 5,
          "formattedValue" : "5"
        },
        "booleanValue" : {
          "name" : "booleanValue",
          "value" : false
        },
        "id" : {
          "name" : "id",
          "value" : 1,
          "formattedValue" : "1"
        },
        "doubleValue" : {
          "name" : "doubleValue",
          "value" : 5.5,
          "formattedValue" : "5.5"
        }
      },
      "selected" : false,
      "links" : [ {
        "type" : "page",
        "id" : "actions[1]",
        "label" : "Edit",
        "target" : "/manager/localhost/demo-application/1_edit",
        "icon" : "edit",
        "default" : true
      }, {
        "type" : "page",
        "id" : "actions[2]",
        "label" : "Delete",
        "target" : "/manager/localhost/demo-application/1_delete",
        "icon" : "delete",
        "default" : true,
        "confirmation" : "Really delete entity1]?"
      } ]
    }, ...> but was:<...         "value" : "[new name"
        },
        "integerValue" : {
          "name" : "integerValue",
          "value" : 5,
          "formattedValue" : "5"
        },
        "booleanValue" : {
          "name" : "booleanValue",
          "value" : false
        },
        "id" : {
          "name" : "id",
          "value" : 1,
          "formattedValue" : "1"
        },
        "doubleValue" : {
          "name" : "doubleValue",
          "value" : 5.5,
          "formattedValue" : "5.5"
        }
      },
      "selected" : false,
      "links" : [ {
        "type" : "page",
        "id" : "actions[1]",
        "label" : "Edit",
        "target" : "/manager/localhost/demo-application/1_edit",
        "icon" : "edit",
        "default" : true
      }, {
        "type" : "page",
        "id" : "actions[2]",
        "label" : "Delete",
        "target" : "/manager/localhost/demo-application/1_delete",
        "icon" : "delete",
        "default" : true,
        "confirmation" : "Really delete new name]?"
      } ]
    }, ...>

Stacktrace

org.junit.ComparisonFailure: 
expected:<...         "value" : "[entity1"
        },
        "integerValue" : {
          "name" : "integerValue",
          "value" : 5,
          "formattedValue" : "5"
        },
        "booleanValue" : {
          "name" : "booleanValue",
          "value" : false
        },
        "id" : {
          "name" : "id",
          "value" : 1,
          "formattedValue" : "1"
        },
        "doubleValue" : {
          "name" : "doubleValue",
          "value" : 5.5,
          "formattedValue" : "5.5"
        }
      },
      "selected" : false,
      "links" : [ {
        "type" : "page",
        "id" : "actions[1]",
        "label" : "Edit",
        "target" : "/manager/localhost/demo-application/1_edit",
        "icon" : "edit",
        "default" : true
      }, {
        "type" : "page",
        "id" : "actions[2]",
        "label" : "Delete",
        "target" : "/manager/localhost/demo-application/1_delete",
        "icon" : "delete",
        "default" : true,
        "confirmation" : "Really delete entity1]?"
      } ]
    }, ...> but was:<...         "value" : "[new name"
        },
        "integerValue" : {
          "name" : "integerValue",
          "value" : 5,
          "formattedValue" : "5"
        },
        "booleanValue" : {
          "name" : "booleanValue",
          "value" : false
        },
        "id" : {
          "name" : "id",
          "value" : 1,
          "formattedValue" : "1"
        },
        "doubleValue" : {
          "name" : "doubleValue",
          "value" : 5.5,
          "formattedValue" : "5.5"
        }
      },
      "selected" : false,
      "links" : [ {
        "type" : "page",
        "id" : "actions[1]",
        "label" : "Edit",
        "target" : "/manager/localhost/demo-application/1_edit",
        "icon" : "edit",
        "default" : true
      }, {
        "type" : "page",
        "id" : "actions[2]",
        "label" : "Delete",
        "target" : "/manager/localhost/demo-application/1_delete",
        "icon" : "delete",
        "default" : true,
        "confirmation" : "Really delete new name]?"
      } ]
    }, ...>
	at org.appng.core.controller.rest.openapi.OpenApiTest.testDataSource(OpenApiTest.java:108)