mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16705] Correctly assign phpBB root path in tests
PHPBB3-16705
This commit is contained in:
parent
91a5a73dca
commit
e4fc9bb0b1
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue