mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02:00
[feature/request-class] Fix session_testable_factory
PHPBB3-9716
This commit is contained in:
parent
c5cef773c4
commit
b05382d226
@ -73,7 +73,8 @@ class phpbb_session_testable_factory
|
||||
$request = $this->request = new phpbb_mock_request(
|
||||
array(),
|
||||
array(),
|
||||
$this->cookies
|
||||
$this->cookies,
|
||||
$this->server_data
|
||||
);
|
||||
request_var(null, null, null, null, $request);
|
||||
|
||||
@ -85,8 +86,6 @@ class phpbb_session_testable_factory
|
||||
$cache = $this->cache = new phpbb_mock_cache($this->get_cache_data());
|
||||
$SID = $_SID = null;
|
||||
|
||||
$_SERVER = $this->server_data;
|
||||
|
||||
$session = new phpbb_mock_session_testable;
|
||||
return $session;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user