Skip to content

Commit 6dad7bf

Browse files
committed
Merge pull request #265 from mirfilip/feature/upgrade-json-schema-test-sute-to-1.2.0
Bump json-schema/JSON-Schema-Test-Suite to 1.2.0 + some tests improvements
2 parents c21534c + 346b321 commit 6dad7bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+36
-11
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@
2828
"type": "package",
2929
"package": {
3030
"name": "json-schema/JSON-Schema-Test-Suite",
31-
"version": "1.1.2",
31+
"version": "1.2.0",
3232
"source": {
3333
"url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
3434
"type": "git",
35-
"reference": "1.1.2"
35+
"reference": "1.2.0"
3636
}
3737
}
3838
}],
3939
"require": {
4040
"php": ">=5.3.3"
4141
},
4242
"require-dev": {
43-
"json-schema/JSON-Schema-Test-Suite": "1.1.2",
43+
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
4444
"phpunit/phpunit": "^4.8.22",
4545
"phpdocumentor/phpdocumentor": "~2"
4646
},
4747
"autoload": {
4848
"psr-4": { "JsonSchema\\": "src/JsonSchema/" }
4949
},
5050
"autoload-dev": {
51-
"psr-4": { "JsonSchema\\Tests\\": "tests/JsonSchema/Tests/" }
51+
"psr-4": { "JsonSchema\\Tests\\": "tests/" }
5252
},
5353
"bin": ["bin/validate-json"],
5454
"extra": {
File renamed without changes.
File renamed without changes.

tests/JsonSchema/Tests/Constraints/BaseTestCase.php renamed to tests/Constraints/BaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ abstract public function getInvalidTests();
7979
*/
8080
private function resolveSchema($schema)
8181
{
82-
$relativeTestsRoot = realpath(__DIR__ . '/../../../../vendor/json-schema/JSON-Schema-Test-Suite/remotes');
82+
$relativeTestsRoot = realpath(__DIR__ . '/../../vendor/json-schema/JSON-Schema-Test-Suite/remotes');
8383

8484
$jsonSchemaDraft03 = $this->getJsonSchemaDraft03();
8585
$jsonSchemaDraft04 = $this->getJsonSchemaDraft04();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)