fix: retry output expected string

This commit is contained in:
nuno maduro
2026-06-11 10:12:41 +01:00
parent 37821e1108
commit dfb7b870af

View File

@ -435,6 +435,11 @@ trait Testable
if ($hasOutputExpectation) {
ob_clean();
Closure::bind(function (): void {
$this->outputExpectedString = null;
$this->outputExpectedRegex = null;
}, $this, TestCase::class)();
}
$this->setUp();