Skip to content

Commit 5e754d6

Browse files
committed
test: fix arrange for test
1 parent 478a7c3 commit 5e754d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/system/Helpers/FormHelperTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,9 @@ public function testSetRadioFromSessionOldInputPostArrayWithValueZero()
919919

920920
public function testSetRadioDefault()
921921
{
922+
$_SESSION = [];
923+
$_POST = [];
924+
922925
$this->assertSame(' checked="checked"', set_radio('code', 'alpha', true));
923926
$this->assertSame('', set_radio('code', 'beta', false));
924927
}

0 commit comments

Comments
 (0)