Add 'HEAD'-method to \Drupal\Tests\rest\Unit\EventSubscriber\ResourceResponseSubscriberTest::providerTestResponseFormat

Created on 16 July 2023, about 1 year ago
Updated 17 September 2023, 12 months ago

Problem/Motivation

In 📌 [META] Fix @todo items referencing closed issues Active we've discovered there are a couple of identical @todos in \Drupal\Tests\rest\Unit\EventSubscriber\ResourceResponseSubscriberTest::providerTestResponseFormat.
This @todo is linked to an d.o. issue that is already closed: #2752325: Automatically provide HEAD support when a REST resource supports GET .

This is the @todo:

// @todo add 'HEAD' in https://www.drupal.org/node/2752325

Steps to reproduce

Proposed resolution

Re-enable the testGet() in this class since it now runs without errors.

Remaining tasks

Add 'HEAD'-method to \Drupal\Tests\rest\Unit\EventSubscriber\ResourceResponseSubscriberTest::providerTestResponseFormat, since support for that was added in #2752325: Automatically provide HEAD support when a REST resource supports GET .

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
REST 

Last updated 6 days ago

Created by

🇳🇱Netherlands Spokje

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

Comments & Activities

Production build 0.71.5 2024