Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::testGet
is currently testing for the Link
header for all entity types. This fails for entity types with no link templates. Example \Drupal\aggregator\Entity\Item
.
Proposed resolution
Tests for Link
headers if the entity type has link templates.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | test_for_link_headers-2852992-2.patch | 2.61 KB | shadcn |
Comments
Comment #2
shadcn CreditAttribution: shadcn at Chapter Three commentedComment #3
Wim LeersHah, great find!
Comment #4
Wim LeersClarifying title.
Comment #5
alexpottCommitted and pushed 1816bcd to 8.4.x and 1c374f7 to 8.3.x. Thanks!
Chose to backport this to 8.3.x because it is a test-only improvement.
Comment #8
Wim LeersYay :)