Clean up CSSOptimizer unit test.

Created on 6 August 2025, 7 days ago

Problem/Motivation

We no longer need the extra bit for CSSOPtimizerUnitTest
core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
since #3034072: Move file uri/scheme functions from file.inc and FileSystem to StreamWrapperManager β†’

Steps to reproduce

Proposed resolution

Delete this at the bottom:

/**
 * CssCollectionRenderer uses file_uri_scheme() which need to be mocked.
 */
namespace Drupal\Core\Asset;

if (!function_exists('Drupal\Core\Asset\file_uri_scheme')) {

  function file_uri_scheme($uri) {
    return FALSE;
  }

}

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Postponed

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

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