Problem/Motivation

Tests are failing with:

1) Drupal\KernelTests\Core\Test\PhpUnitApiGetTestClassesTest::testEquality with data set "All tests" ([])
PHPUnit\Framework\Exception: PHP Fatal error:  Cannot redeclare class Drupal\Tests\search\Kernel\NodeSearchTest (previously declared in /var/www/html/repos/drupal/core/modules/search/tests/src/Kernel/node/NodeSearchTest.php:18) in /var/www/html/repos/drupal/core/modules/search/tests/src/Kernel/node/NodeSearchTest.php on line 18

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3582260

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.

joachim’s picture

Status: Active » Needs review

catch’s picture

Status: Needs review » Reviewed & tested by the community

RTBC. I will commit this (essentially from needs review...) once the pipeline has come back green since HEAD is broken (albeit a bit silently) and the fix is trivial.

  • catch committed c5bd59e0 on 11.x
    fix: #3582260 NodeSearchTest missing part of its namespace
    
    By: joachim...

  • catch committed 6d7d6c5a on main
    fix: #3582260 NodeSearchTest missing part of its namespace
    
    By: joachim
    

catch’s picture

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

Committed/pushed to main and 11.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • catch committed 2f501cd8 on 11.x
    Revert "fix: #3582260 NodeSearchTest missing part of its namespace"...

  • catch committed 4ebf9e1a on main
    Revert "fix: #3582260 NodeSearchTest missing part of its namespace"...

Status: Fixed » Closed (fixed)

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