Problem/Motivation
\Drupal\Tests\system\Functional\Entity\EntityReferenceSelection\EntityReferenceSelectionAccessTest extends KernelTestBase so is actually a Kernel test.
However its namespace is Drupal\Tests\system\Functional\Entity\EntityReferenceSelection and its in directory core/modules/system/tests/src/Functional/Entity, hence its run as a Functional test on GitLab CI.
Steps to reproduce
Proposed resolution
- Change namespace to Drupal\Tests\system\Kernel\Entity\EntityReferenceSelection.
- Change directory to core/modules/system/tests/src/Kernel/Entity.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3414776
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:
- 3414776-move-entityreferenceselection-to
changes, plain diff MR !6175
Comments
Comment #3
spokjeComment #4
spokjeComment #5
smustgrave commentedConversion seems fine
Comment #8
catchCommitted/pushed to 11.x and cherry-picked to 10.2.x, thanks!