Problem/Motivation

The only page loads that TermIndexTest::testTaxonomyIndex() makes are for setup tasks -- these should be done using the API anyway.

The actual thing being tested is the state of the database.

Therefore, this test method should be converted to a kernel test.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3480237

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

joachim created an issue. See original summary.

cilefen’s picture

Title: convert TermIndexTest::testTaxonomyIndex() to a kernel text » Convert TermIndexTest::testTaxonomyIndex() to a kernel test

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

joachim’s picture

Status: Active » Needs work

The new kernel test looks ok, but the whole of the functional test class is being removed, which is losing other tests!

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.