From 8c57c1fe5c90aa8a099da502b2d48cbf846a7b8d Mon Sep 17 00:00:00 2001 From: Erayd Date: Thu, 23 Feb 2017 11:35:13 +1300 Subject: [PATCH] Enable schema validation for the draft compliance tests --- tests/Drafts/Draft3Test.php | 3 +++ tests/Drafts/Draft4Test.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/Drafts/Draft3Test.php b/tests/Drafts/Draft3Test.php index 4a744441..1942a3b1 100644 --- a/tests/Drafts/Draft3Test.php +++ b/tests/Drafts/Draft3Test.php @@ -16,6 +16,9 @@ */ class Draft3Test extends BaseDraftTestCase { + protected $schemaSpec = 'http://json-schema.org/draft-03/schema#'; + protected $validateSchema = true; + /** * {@inheritdoc} */ diff --git a/tests/Drafts/Draft4Test.php b/tests/Drafts/Draft4Test.php index a4508b0f..54eee4c4 100644 --- a/tests/Drafts/Draft4Test.php +++ b/tests/Drafts/Draft4Test.php @@ -14,6 +14,9 @@ */ class Draft4Test extends BaseDraftTestCase { + protected $schemaSpec = 'http://json-schema.org/draft-04/schema#'; + protected $validateSchema = true; + /** * {@inheritdoc} */