Issue Task Resolved

#111229Restore frontend debug configuration after cache-tag tests

Wouter Wolters 10/24/26, 19:29 updated 10/25/26, 11:35

Description

CacheTagsAttributeTest enables FE.debug for its header tests, then unconditionally resets it to false. This overwrites an existing value and leaves debug enabled if the tested call throws before the reset. Enable PHPUnit global backup for the class and remove the manual resets so PHPUnit restores the incoming configuration after each test, including failures. Verify both header tests preserve an initial FE.debug = true value and run the unit suite in random order.

Reviews 1

History 12

  1. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-25T11:35:13+00:00" > 10/25/26, 11:35 </span>

    Applied in changeset commit:21b92d97c247ac9cef47bbff9fcbf3056bb3a245.