Skip to content

Commit

Permalink
test: fix $_COOKIE value
Browse files Browse the repository at this point in the history
It should be a string.
  • Loading branch information
kenjis committed Jun 7, 2022
1 parent bf9b55e commit 28cc8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Helpers/CookieHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function testDeleteCookie()

public function testGetCookie()
{
$_COOKIE['TEST'] = 5;
$_COOKIE['TEST'] = '5';

$this->assertSame('5', get_cookie('TEST'));
}
Expand Down

0 comments on commit 28cc8bf

Please sign in to comment.