Skip to content

Commit 41fc7d5

Browse files
committed
PrintProgressTest: minor fix to the tearDown() method
The test class defines its own `tearDown()` method, which overrules the `tearDown()` from the `StatusWriterTestHelper` class, so we need to call the `StatusWriterTestHelper::resetStatusWriterProperties()` method from our own `tearDown()`.
1 parent 19d4bb8 commit 41fc7d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Core/Runner/PrintProgressTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ protected function tearDown(): void
8686
self::$config->showProgress = true;
8787
self::$fileWithoutErrorsOrWarnings->ignored = false;
8888

89+
// Reset all static properties on the StatusWriter class.
90+
$this->resetStatusWriterProperties();
91+
8992
}//end tearDown()
9093

9194

0 commit comments

Comments
 (0)