1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-22 00:32:29 +02:00

[ticket/16705] Correctly assign phpBB root path in tests

PHPBB3-16705
This commit is contained in:
Marc Alexander 2021-03-02 19:55:02 +01:00
parent 91a5a73dca
commit e4fc9bb0b1
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -79,6 +79,7 @@ class phpbb_attachment_upload_test extends \phpbb_database_test_case
'img_create_thumbnail' => true,
));
$config = $this->config;
$this->phpbb_root_path = $phpbb_root_path;
$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->request = $this->createMock('\phpbb\request\request');