-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[JsonPath] Use git submodules for JsonPath compliance test suite #62761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 7.3
Are you sure you want to change the base?
[JsonPath] Use git submodules for JsonPath compliance test suite #62761
Conversation
4c3efd3 to
9fe24d8
Compare
| public static function complianceCaseProvider(): iterable | ||
| { | ||
| $data = json_decode(file_get_contents(__DIR__.'/Fixtures/cts.json'), false, flags: \JSON_THROW_ON_ERROR); | ||
| $data = json_decode(file_get_contents(self::COMPLIANCE_TEST_SUITE_FILE), false, flags: \JSON_THROW_ON_ERROR); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this break when running tests without the submodules installed ? Data providers are run before the setUp method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really don't understand how I've been able to skip all cases locally with this code. But anyway, I took the same approach as #62642
9fe24d8 to
fae158c
Compare
fae158c to
cd375e3
Compare
|
instead of gitmodules, can't we use composer? I think we do so already for the intl component (or emoji? I don't remember) |
|
We could indeed use a |
|
I was thinking about the composer.json in this directory: |
I'd suggest considering this one as a bug fix so all supported branches benefit from this.