mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02:00
[ticket/16705] Correctly assign phpBB root path in tests
PHPBB3-16705
This commit is contained in:
@@ -79,6 +79,7 @@ class phpbb_attachment_upload_test extends \phpbb_database_test_case
|
|||||||
'img_create_thumbnail' => true,
|
'img_create_thumbnail' => true,
|
||||||
));
|
));
|
||||||
$config = $this->config;
|
$config = $this->config;
|
||||||
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
$this->db = $this->new_dbal();
|
$this->db = $this->new_dbal();
|
||||||
$this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\dummy(), $this->config, $this->db, $phpbb_root_path, $phpEx);
|
$this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\dummy(), $this->config, $this->db, $phpbb_root_path, $phpEx);
|
||||||
$this->request = $this->createMock('\phpbb\request\request');
|
$this->request = $this->createMock('\phpbb\request\request');
|
||||||
|
Reference in New Issue
Block a user