From 5b0162cc609d81dabf6307b60b7b296a67d7bd60 Mon Sep 17 00:00:00 2001 From: Imdad Ahad Date: Fri, 16 Sep 2016 14:56:14 +0100 Subject: [PATCH] Update schema to validate {notifications} contains a {links} object with expected properties --- .../schemas/GET_notifications_return.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/app/public_contracts/schemas/GET_notifications_return.json b/tests/app/public_contracts/schemas/GET_notifications_return.json index 7939dd8f1..37ecf74e9 100644 --- a/tests/app/public_contracts/schemas/GET_notifications_return.json +++ b/tests/app/public_contracts/schemas/GET_notifications_return.json @@ -14,7 +14,14 @@ }, "links": { "type": "object", - "additionalProperties": false + "properties" : { + "last": { + "type" : "string" + }, + "next" : { + "type" : "string" + } + } }, "page_size": {"type": "number"}, "total": {"type": "number"}