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
BlockContentFieldTest has the following information in the docblock:
<?php
/**
* Tests block fieldability.
*
* @group block_content
* @todo Consider removing this test when https://drupal.org/node/1822000 is
* fixed.
*/
class BlockContentFieldTest extends BlockContentTestBase {
?>
And #1822000: Remove Drupal\field_test\Plugin\Entity\Type\TestEntity in favor of EntityTest already went in.
After asking Berdir, this adds an equivalent test coverage for the link field: #1957748-24: hook_field_prepare_view() is passed empty field values for EntityNG Entities.
Proposed resolution
Remove the testfile
Remaining tasks
None
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#1 | 2428633-remove_BlockContentFieldTest-1.patch | 3.23 KB | pcambra |
Comments
Comment #1
pcambraComment #2
amateescu CreditAttribution: amateescu commentedYay for one less web test :)
Comment #3
alexpottTests are not frozen in beta. Committed 374a5bd and pushed to 8.0.x. Thanks!
Comment #5
larowlanDamn I was using this test in the block content cache contexts critical