Problem/Motivation

In #3633160: Add test coverage for SA-CORE-2026-010 test coverage was added for security fix. But there was a comment from @catch for core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php
to use key/value over state.

Steps to reproduce

Proposed resolution

Use key/value over state as mentioned.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3633600

Command icon 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:

Comments

smustgrave created an issue. See original summary.

abryantdev made their first commit to this issue’s fork.

mohnish s. yadav’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

LGTM

  • catch committed ef45c376 on 11.5.x
    task: #3633600 Use key/value over state in ImageModuleTestHooks
    
    By:...

  • catch committed 0421c737 on 11.x
    task: #3633600 Use key/value over state in ImageModuleTestHooks
    
    By:...

  • catch committed 82549dba on 12.0.x
    task: #3633600 Use key/value over state in ImageModuleTestHooks
    
    By:...

  • catch committed a48087f2 on main
    task: #3633600 Use key/value over state in ImageModuleTestHooks
    
    By:...
catch’s picture

Version: main » 11.5.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to main and cherry-picked back through to 11.5.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.