PluginTestBase is not actually a "base class for plugin API unit tests"

Created on 18 October 2025, 1 day ago

Problem/Motivation

The docblock for PluginTestBase claims that it's the:

Base class for Plugin API unit tests. 

However:

  • It's actually a kernel test.
  • It has dependencies on User and Node modules.
  • Only three things extend it, hardly the whole test coverage for the plugin system.
  • It does some interesting mocking of the Block system, because that's what plugins were for back in 2012.

Proposed resolution

Rename it to something that better documents its purpose, and update its docblock accordingly.

Remaining tasks

TBD.

API changes

None.

Data model changes

None.

Release notes snippet

None.

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

plugin system

Created by

πŸ‡ΊπŸ‡ΈUnited States xjm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024