Move `PropSourceEndpointTest` into new `XbConfigEntityHttpApiTest::testComponent()`

Created on 4 March 2025, 5 days ago

Overview

@tedbow was forced to introduce PropSourceEndpointTest in 📌 HTTP API: update /xb-component/{component_id} to list possible prop sources for current entity context Fixed , because no functional tests existed for that internal HTTP API response yet.

That was merged August 29, 2024.

ApiConfigControllers and its corresponding functional test coverage at XbConfigEntityHttpApiTest were both introduced in 📌 HTTP API to read+write PageTemplate and Pattern config entities Active by yours truly on October 22, 2024, in an attempt to curb the explosion in number of (routing) controllers.
Months later, that attempt has proven succesful 👍

However, the one outlier now is PropSourceEndpointTest.

Proposed resolution

The PropSourceEndpointTest test coverage ought to be moved into XbConfigEntityHttpApiTest, and match the existing naming scheme, so it should be in a test method named ::testComponent().

User interface changes

None.

📌 Task
Status

Active

Version

0.0

Component

Internal HTTP API

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Comments & Activities

Production build 0.71.5 2024