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.
In short:
Move the helper methods from the test in #1152216-16: (Long) text field (textarea) with "Default" formatter does not retain newlines into DrupalUnitTestBase + a new FieldPluginUnitTestBase.
#1932382: Use DrupalUnitTestBase for Field API tests. introduced some additional + similar helper methods in a FieldUnitTestBase (DUTB).
Comments
Comment #0.0
sunUpdated issue summary.
Comment #1
sunDuplicate of #2257519: Move content assertion methods into a trait, so DUTB can consume it, too, already done. :)