expectUserDeprecationMessage*()
fails when test is run in separate process
#6102
Labels
feature/assertion
Issues related to assertions and expectations
feature/process-isolation
Issues related to running tests in separate PHP processes
feature/test-runner
CLI test runner
type/bug
Something is broken
version/11
Something affects PHPUnit 11
version/12
Something affects PHPUnit 12
Summary
expectUserDeprecationMessage*()
fails when test is run in separate process.Current behavior
A test like this
leads to an
EventFacadeIsSealedException
error reported by the runner:How to reproduce
See above
Expected behavior
No exception reported, only the deprecations.
The text was updated successfully, but these errors were encountered: