Problem/Motivation

\Drupal\Tests\node\Functional\NodeTemplateSuggestionsTest Makes no HTTP requests but is a functional test.

Steps to reproduce

Proposed resolution

Convert \Drupal\Tests\node\Functional\NodeTemplateSuggestionsTest into a Kernel test.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3414499

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
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Coverage still seems to be there.

So question, should a meta be opened for these?

spokje’s picture

So question, should a meta be opened for these?

If you want one, I'll create one.
IMHO a meta wouldn't add any/much value. There's no plan, no fancy grepping or tooling involved, it's just me going through all FunctionalTests to see if they could easily be KernelTests.


So there will be more of these popping up, if that validates a meta for you/someone, I'll semi-happily create one, but I would see it as a admin-for-the-sake-of-admin thing.

There are indeed too many, opened #3414655: [META] Convert Functional tests classes which make no HTTP requests into Kernel tests

  • catch committed 794bea68 on 10.2.x
    Issue #3414499 by Spokje, smustgrave: Convert...

  • catch committed 57d7fba7 on 11.x
    Issue #3414499 by Spokje, smustgrave: Convert...
catch’s picture

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.