We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b3827 commit 2746832Copy full SHA for 2746832
tests/PatchTest.php
@@ -154,14 +154,14 @@ public function providerInvalidPatch(): array
154
155
private function getSpecTests(): array
156
{
157
- $testsFile = dirname(realpath(PHPUNIT_COMPOSER_INSTALL)) . "/../tests/data/spec_tests.json";
+ $testsFile = realpath(__DIR__ . "/data/spec_tests.json");
158
return $this->getTestInfoList($testsFile);
159
}
160
161
162
private function getTests(): array
163
164
- $testsFile = dirname(realpath(PHPUNIT_COMPOSER_INSTALL)) . "/../tests/data//tests.json";
+ $testsFile = realpath(__DIR__ . "/data/tests.json");
165
166
167
0 commit comments