Skip to content

Commit 086064b

Browse files
committed
clean up error handler instance
1 parent 233632d commit 086064b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/Runner/ErrorHandlerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ public function testThrowsExceptionWhenUsingInvalidOrderOption(): void
3131
$registeredDeprecations = $globalDeprecations->getValue($errorHandler);
3232
$this->assertCount(1, $registeredDeprecations);
3333
$this->assertSame('deprecation', $registeredDeprecations[0][1]);
34+
$globalDeprecations->setValue($errorHandler, []);
3435
}
3536
}

0 commit comments

Comments
 (0)