Skip to content

Commit bd50a53

Browse files
committed
test: fix setUp()
1 parent 84c5ec0 commit bd50a53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/system/CommonFunctionsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ final class CommonFunctionsTest extends CIUnitTestCase
4141
{
4242
protected function setUp(): void
4343
{
44-
parent::setUp();
45-
$renderer = Services::renderer();
46-
$renderer->resetData();
4744
unset($_ENV['foo'], $_SERVER['foo']);
45+
Services::reset();
46+
47+
parent::setUp();
4848
}
4949

5050
public function testStringifyAttributes()

0 commit comments

Comments
 (0)