Lingering reference to system_test_help function

Created on 7 July 2025, 1 day ago

Problem/Motivation

Found in 📌 Remove CacheTestBase and merge its functionality into ClearTest Needs work

There is a reference to system_test_help in \Drupal\KernelTests\Core\Common\DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList asserting that the function doesn't exist. Later in the test the system_test module is enabled and we assert that the SystemTestHook::help method does exist.

Steps to reproduce

Proposed resolution

Change this line:
$this->assertFalse(function_exists('system_test_help'));

To:
$this->assertFalse(method_exists(SystemTestHooks::class, 'help'));

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

base system

Created by

🇦🇺Australia mstrelan

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024