ci: fix 2.7 behat tests
| Q | A |
|---|---|
| Branch? | 2.7 |
| Tickets | none |
| License | MIT |
Reasons for changes :
Composer
Use the same composer dependencies changes in behat and phpunit
HAL
Don't rely on insertion https://github.com/api-platform/core/pull/5709
JsonLD
Don't rely on insertion https://github.com/api-platform/core/pull/5709
GraphQL
Add some missing operations
Need help
Mercure
The Mercure update sent is made with json+ld instead of simple json so it fails to match format. features/graphql/subscription.feature:187
"{"@context":"\/contexts\/DummyMercure","@id":"\/dummy_mercures\/1","@type":"DummyMercure","id":1,"name":"Dummy Mercure #1 updated","description":"Description","relatedDummy":"\/related_dummies\/1"}"
"{"dummyMercure":{"id":1,"name":"Dummy Mercure #1 updated","relatedDummy":{"name":"RelatedDummy #1"}}}"
Subresource
features/main/subresource.feature:476
On PHP 8.*, value of offers and relatedProducts keys from DummyProduct are empty.
features/main/subresource.feature:401 On PHP 8.*, hydra:member is empty instead of containing a DummyOffer
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I couldn't succeed :(
The branch changed a lot since my fixes, I'm closing this