Skip to content

Commit

Permalink
Enable schema validation for the draft compliance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erayd committed Feb 23, 2017
1 parent a38f04d commit 4dd3cd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Drafts/Draft3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*/
class Draft3Test extends BaseDraftTestCase
{
protected $schemaSpec = 'http://json-schema.org/draft-03/schema#';
protected $validateSchema = true;

/**
* {@inheritdoc}
*/
Expand Down
3 changes: 3 additions & 0 deletions tests/Drafts/Draft4Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
*/
class Draft4Test extends BaseDraftTestCase
{
protected $schemaSpec = 'http://json-schema.org/draft-04/schema#';
protected $validateSchema = true;

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit 4dd3cd0

Please sign in to comment.