[PP-1] Add unit test for Drupal\layout_builder\Plugin\ConfigAction\Deriver\AddComponentDeriver

Created on 6 May 2025, about 1 month ago

Problem/Motivation

Drupal\layout_builder\Plugin\ConfigAction\Deriver\AddComponentDeriver has no test coverage.
Implement a unit test.

Provide a Config Action to add/edit a component in a layout Active was committed without it for 11.2-alpha.

Proposed resolution

Add unit test verifying that only SectionListInterface implementations are generating a derivative of the addComponentToLayout config action.

Remaining tasks

Add unit test.

User interface changes

None.

Introduced terminology

None.

API changes

None.

Data model changes

None.

Release notes snippet

None.

📌 Task
Status

Active

Version

11.0 🔥

Component

layout_builder.module

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

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.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024