Skip to content

Commit

Permalink
Use dist copies of schemas
Browse files Browse the repository at this point in the history
No need to keep duplicate files around in package://tests/fixtures/ if
we're distributing them for users anyway.
  • Loading branch information
erayd committed Feb 24, 2017
1 parent 167108f commit 61c3c69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 416 deletions.
4 changes: 2 additions & 2 deletions tests/Constraints/VeryBaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function getJsonSchemaDraft03()
{
if (!$this->jsonSchemaDraft03) {
$this->jsonSchemaDraft03 = json_decode(
file_get_contents(__DIR__ . '/../fixtures/json-schema-draft-03.json')
file_get_contents(__DIR__ . '/../../dist/schema/json-schema-draft-03.json')
);
}

Expand All @@ -80,7 +80,7 @@ private function getJsonSchemaDraft04()
{
if (!$this->jsonSchemaDraft04) {
$this->jsonSchemaDraft04 = json_decode(
file_get_contents(__DIR__ . '/../fixtures/json-schema-draft-04.json')
file_get_contents(__DIR__ . '/../../dist/schema/json-schema-draft-04.json')
);
}

Expand Down
193 changes: 0 additions & 193 deletions tests/fixtures/json-schema-draft-03.json

This file was deleted.

Loading

0 comments on commit 61c3c69

Please sign in to comment.