Refactor system/Kernel/Theme/ThemeTest::testThemeDataTypes

Created on 29 June 2020, over 4 years ago
Updated 14 January 2024, about 1 year ago

Problem/Motivation

$this->assertTrue($output instanceof MarkupInterface || is_string($output), new FormattableMarkup('\Drupal::theme() returns an object that implements MarkupInterface or a string for data type @type.', ['@type' => $type]));

Proposed resolution

Refactor the test to test independently the string and the MarkupInterface cases.

Remaining tasks

Discuss
Review patch

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
PHPUnit 

Last updated about 1 hour ago

Created by

🇮🇳India Hardik_Patel_12 India

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024