- Issue created by @dydave
- Merge request !4Issue #3445837 by DYdave: Automated testing: Fixed PHPUnit Tests errors due to... → (Merged) created by dydave
- Status changed to Fixed
8 months ago 9:56pm 7 May 2024 - 🇫🇷France dydave
Quick follow-up on this issue:
The problem appears to have been caused by an API change in Core function:
\Drupal\Tests\image\Kernel\ImageFieldCreationTrait::createImageField(), which now supports any entity type → .
(Introduced in branch: 10.3.x)The existing tests are based on content types, but they could probably work for any entity types.
To keep the current logic,
'node'
was added as the entity type in the call, which seemed to fix the errors and brought back the tests to green.The changes were merged in the 2.2.x branch at #3 and the builds are now passing again ✅
https://git.drupalcode.org/project/image_link_formatter/-/pipelines/166771
Feel free to let us know if you have any questions on any of the recent code changes or this ticket in general, we would surely be glad to help.
Thanks! Automatically closed - issue fixed for 2 weeks with no activity.