mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[ticket/10521] Fix broken tests using set_cookie
PHPBB3-10521
This commit is contained in:
parent
6d71f7d7ba
commit
b07ea805d4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class phpbb_mock_session_testable extends \phpbb\session
|
||||||
{
|
{
|
||||||
private $_cookies = array();
|
private $_cookies = array();
|
||||||
|
|
||||||
public function set_cookie($name, $data, $time)
|
public function set_cookie($name, $data, $time, $httponly = true)
|
||||||
{
|
{
|
||||||
$this->_cookies[$name] = array($data, $time);
|
$this->_cookies[$name] = array($data, $time);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue