Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
As of introduced by #2450993: Rendered Cache Metadata created during the main controller request gets lost we introduced the test EarlyRenderingControllerTest
This uses a webtest but nothing ensures that the renderer + RenderContext can be used together in a way that the internal state does not cause too much state and so breaks things
Proposed resolution
Convert it to a kernel test, and ensure that the state is reset after each call to it.
Comments