Skip to content

Commit

Permalink
test: Correct casing of paths used in tests (#745)
Browse files Browse the repository at this point in the history
* test: Correct casing of paths used in tests

* docs: Add changelog entry
  • Loading branch information
DannyvdSluijs committed Aug 5, 2024
1 parent 3c49c66 commit 985840f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/Constraints/VeryBaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion tests/Drafts/BaseDraftTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 985840f

Please sign in to comment.