Skip to content

Commit 61c3c69

Browse files
committed
Use dist copies of schemas
No need to keep duplicate files around in package://tests/fixtures/ if we're distributing them for users anyway.
1 parent 167108f commit 61c3c69

File tree

3 files changed

+2
-416
lines changed

3 files changed

+2
-416
lines changed

tests/Constraints/VeryBaseTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private function getJsonSchemaDraft03()
6666
{
6767
if (!$this->jsonSchemaDraft03) {
6868
$this->jsonSchemaDraft03 = json_decode(
69-
file_get_contents(__DIR__ . '/../fixtures/json-schema-draft-03.json')
69+
file_get_contents(__DIR__ . '/../../dist/schema/json-schema-draft-03.json')
7070
);
7171
}
7272

@@ -80,7 +80,7 @@ private function getJsonSchemaDraft04()
8080
{
8181
if (!$this->jsonSchemaDraft04) {
8282
$this->jsonSchemaDraft04 = json_decode(
83-
file_get_contents(__DIR__ . '/../fixtures/json-schema-draft-04.json')
83+
file_get_contents(__DIR__ . '/../../dist/schema/json-schema-draft-04.json')
8484
);
8585
}
8686

tests/fixtures/json-schema-draft-03.json

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)