From e4fc9bb0b1857f132a2754e24791861ad01a8530 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 2 Mar 2021 19:55:02 +0100 Subject: [PATCH] [ticket/16705] Correctly assign phpBB root path in tests PHPBB3-16705 --- tests/attachment/upload_test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/attachment/upload_test.php b/tests/attachment/upload_test.php index 2743ee596d..0f4204dfff 100644 --- a/tests/attachment/upload_test.php +++ b/tests/attachment/upload_test.php @@ -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');