1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 22:41:28 +02:00

[ticket/11850] page_name contains controller request rather than query string

Fixing tests

PHPBB3-11850
This commit is contained in:
Nathan Guse
2013-09-17 22:00:06 -05:00
parent f4317bc864
commit 9c535da528
4 changed files with 59 additions and 33 deletions

View File

@@ -19,6 +19,13 @@ abstract class phpbb_session_test_case extends phpbb_database_test_case
function setUp()
{
parent::setUp();
global $symfony_request, $phpbb_filesystem, $request, $phpbb_root_path, $phpEx;
$symfony_request = new phpbb_symfony_request(
new phpbb_mock_request()
);
$phpbb_filesystem = new phpbb_filesystem($symfony_request, $phpbb_root_path, $phpEx);
$this->session_factory = new phpbb_session_testable_factory;
$this->db = $this->new_dbal();
$this->session_facade =