Fix strict type errors: Convert remaining usages of FormattableMarkup to strings in core Functional tests

Created on 31 January 2024, 7 months ago
Updated 18 May 2024, 4 months ago

Problem/Motivation

See parent(s). After 📌 Fix strict type errors: Convert FormattableMarkup to strings (simple replacement) in core Functional tests RTBC and 📌 Fix strict type errors: Convert FormattableMarkup to strings (complex replacement) in core Functional tests Fixed there are a few remaining instances of passing FormattableMarkup as a parameter to a function that accepts a string.

Steps to reproduce

See https://git.drupalcode.org/issue/drupal-3399746/-/pipelines/84523/test_r...

Proposed resolution

Remove usage of FormattableMarkup in the following files:

  • core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
  • core/modules/system/tests/src/Functional/Form/CheckboxTest.php
  • core/modules/tour/tests/src/Functional/TourTestBase.php
  • core/modules/views/tests/src/Functional/Handler/FieldWebTest.php

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit  →

Last updated about 11 hours ago

Created by

🇦🇺Australia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024