Problem/Motivation
\Drupal\Core\ImageToolkit\ImageToolkitManager::getDefaultToolkitId requires system.image config exists but many kernel tests don't have it installed. If they do not you get deprecations on PHP 8.5.
Steps to reproduce
Run \Drupal\Tests\image\Kernel\ImageEffectsTest
Proposed resolution
Install the system module's config.
Remaining tasks
User interface changes
None
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557167
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3557167-fix-deprecations-in
changes, plain diff MR !13764
Comments
Comment #3
alexpottComment #4
smustgrave commentedKernel test failures seem related to the change, example Drupal\Tests\image\Kernel\ImageEffects "system module is not installed."
Comment #5
alexpottFixed that but forgot to push :)
Comment #6
smustgrave commentedStill seems to have 1 kernel failure
Stable9Library Override (Drupal\KernelTests\Core\Theme\Stable9LibraryOverride)
✘ Stable 9 library overrides
┐
├ Drupal\Core\Extension\Exception\UnknownExtensionException: The theme stark does not exist or is not installed.
Comment #7
alexpottComment #8
smustgrave commentedAll good now!
Comment #12
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!
Comment #14
andypostfiled follow-up for new code #3559286: Fix EntityLinksTest for PHP 8.5