core icon indicating copy to clipboard operation
core copied to clipboard

ci: fix 2.7 behat tests

Open vasilvestre opened this issue 2 years ago • 2 comments

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

vasilvestre avatar Nov 08 '23 11:11 vasilvestre

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.

stale[bot] avatar Jan 14 '24 13:01 stale[bot]

I couldn't succeed :(

vasilvestre avatar Jan 15 '24 08:01 vasilvestre

The branch changed a lot since my fixes, I'm closing this

vasilvestre avatar Jul 26 '24 08:07 vasilvestre