Skip to content

Commit ad18607

Browse files
committed
Add null $index condition to test
1 parent 6f7c56f commit ad18607

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/system/HTTP/CLIRequestTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,5 +620,7 @@ public function testGetLocale()
620620
public function testGetCookie()
621621
{
622622
$this->assertNull($this->request->getCookie('TESTY'));
623+
624+
$this->assertSame($this->request->getCookie(), []);
623625
}
624626
}

0 commit comments

Comments
 (0)