Skip to content

Commit 985840f

Browse files
test: Correct casing of paths used in tests (#745)
* test: Correct casing of paths used in tests * docs: Add changelog entry
1 parent 3c49c66 commit 985840f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest ([#741](https://github.com/jsonrainbow/json-schema/pull/741))
1111
- Fix pugx badges in README ([#742](https://github.com/jsonrainbow/json-schema/pull/742))
1212
- Add missing property in UriResolverTest ([#743](https://github.com/jsonrainbow/json-schema/pull/743))
13+
- Correct casing of paths used in tests ([#745](https://github.com/jsonrainbow/json-schema/pull/745))
1314

1415
## [6.0.0] - 2024-07-30
1516
### Added

tests/Constraints/VeryBaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class VeryBaseTestCase extends TestCase
3030
*/
3131
protected function getUriRetrieverMock($schema)
3232
{
33-
$relativeTestsRoot = realpath(__DIR__ . '/../../vendor/json-schema/JSON-Schema-Test-Suite/remotes');
33+
$relativeTestsRoot = realpath(__DIR__ . '/../../vendor/json-schema/json-schema-test-suite/remotes');
3434

3535
$jsonSchemaDraft03 = $this->getJsonSchemaDraft03();
3636
$jsonSchemaDraft04 = $this->getJsonSchemaDraft04();

tests/Drafts/BaseDraftTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
abstract class BaseDraftTestCase extends BaseTestCase
1111
{
1212
/** @var string */
13-
protected $relativeTestsRoot = '/../../vendor/json-schema/JSON-Schema-Test-Suite/tests';
13+
protected $relativeTestsRoot = '/../../vendor/json-schema/json-schema-test-suite/tests';
1414

1515
private function setUpTests($isValid)
1616
{

0 commit comments

Comments
 (0)