Problem/Motivation
It's very slow https://git.drupalcode.org/project/drupal/-/jobs/11171389
192.417s Drupal\Tests\media\Kernel\MediaAccessControlHandlerTest 61 passed
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3613253
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:
- 3613253-split-up-mediaaccesscontrolhandlertest
changes, plain diff MR !16447
Comments
Comment #3
catchComment #4
smustgrave commentedLeft 1 comment on the MR.
Comment #5
smustgrave commentedTrait may be overkill will let committer decide though.
Comment #7
longwaveRegarding the trait this is certainly not the only place that we assert cache metadata and perhaps it's worth an issue somewhere to clean it up/provide a unified assertion, but out of scope for this issue, duplicating the code once seems fine as it is.
Committed and pushed to main, thanks! Did not backport cleanly, not sure it's worth the effort.