Symfony version(s) affected
7.3.4
Description
This pr #60515 introduce a bug on send email in test environment.
This assertions self::assertQueuedEmailCount(1); or self::assertQueuedEmailCount(1); doesn't work anymore with profiler disactivated:
when@test:
web_profiler:
toolbar: false
intercept_redirects: false
framework:
profiler: { collect: false }
How to reproduce
Create a phpunit integration test where an email will send.
In this test check if email was sent
Possible Solution
No response
Additional Context
No response