Skip to content

Commit 13a3248

Browse files
committed
add: setup function
1 parent ac1c4a5 commit 13a3248

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎tests/system/Test/TestCaseTest.php‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ final class TestCaseTest extends CIUnitTestCase
2727
*/
2828
private $stream_filter;
2929

30+
protected function setUp(): void
31+
{
32+
parent::setUp();
33+
34+
// Reset CLI::$lastWrite
35+
CLI::print();
36+
}
37+
3038
public function testGetPrivatePropertyWithObject()
3139
{
3240
$obj = new __TestForReflectionHelper();

0 commit comments

Comments
 (0)