From f922908663e190ed06edc736c77347bb4fca7a4e Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Fri, 2 Aug 2024 22:17:27 +0200 Subject: [PATCH 1/2] test: Correct casing of paths used in tests --- tests/Constraints/VeryBaseTestCase.php | 2 +- tests/Drafts/BaseDraftTestCase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Constraints/VeryBaseTestCase.php b/tests/Constraints/VeryBaseTestCase.php index 7cd7c06b..f12cba88 100644 --- a/tests/Constraints/VeryBaseTestCase.php +++ b/tests/Constraints/VeryBaseTestCase.php @@ -30,7 +30,7 @@ abstract class VeryBaseTestCase extends TestCase */ protected function getUriRetrieverMock($schema) { - $relativeTestsRoot = realpath(__DIR__ . '/../../vendor/json-schema/JSON-Schema-Test-Suite/remotes'); + $relativeTestsRoot = realpath(__DIR__ . '/../../vendor/json-schema/json-schema-test-suite/remotes'); $jsonSchemaDraft03 = $this->getJsonSchemaDraft03(); $jsonSchemaDraft04 = $this->getJsonSchemaDraft04(); diff --git a/tests/Drafts/BaseDraftTestCase.php b/tests/Drafts/BaseDraftTestCase.php index 1cfe634c..8af703e7 100644 --- a/tests/Drafts/BaseDraftTestCase.php +++ b/tests/Drafts/BaseDraftTestCase.php @@ -10,7 +10,7 @@ abstract class BaseDraftTestCase extends BaseTestCase { /** @var string */ - protected $relativeTestsRoot = '/../../vendor/json-schema/JSON-Schema-Test-Suite/tests'; + protected $relativeTestsRoot = '/../../vendor/json-schema/json-schema-test-suite/tests'; private function setUpTests($isValid) { From deb8df31ed6589b661782ac49bb4887f7a02a483 Mon Sep 17 00:00:00 2001 From: Danny van der Sluijs Date: Mon, 5 Aug 2024 08:41:29 +0200 Subject: [PATCH 2/2] docs: Add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 965b775d..fbaa5be1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest ([#741](https://github.com/jsonrainbow/json-schema/pull/741)) - Fix pugx badges in README ([#742](https://github.com/jsonrainbow/json-schema/pull/742)) - Add missing property in UriResolverTest ([#743](https://github.com/jsonrainbow/json-schema/pull/743)) +- Correct casing of paths used in tests ([#745](https://github.com/jsonrainbow/json-schema/pull/745)) ## [6.0.0] - 2024-07-30 ### Added