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

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

Spokje created an issue. See original summary.

spokje’s picture

Status: Active » Needs review
spokje’s picture

Title: Move EntityReferenceSelection to Kernel namespace and directory » Move EntityReferenceSelectionAccessTest to Kernel namespace and directory
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Conversion seems fine

  • catch committed 68443070 on 10.2.x
    Issue #3414776 by Spokje: Move EntityReferenceSelectionAccessTest to...

  • catch committed 0a58c45e on 11.x
    Issue #3414776 by Spokje: Move EntityReferenceSelectionAccessTest to...
catch’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked to 10.2.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.