diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-03-13 20:49:39 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-03-13 20:49:39 +0100 |
commit | 1c5a4c12137beeaf3c0713272fe90861acd87bf4 (patch) | |
tree | 8d6f13059f93590fd8407d292877dc9cd44d6151 /tests/console | |
parent | 2975566650b6eeeac57b215b6448b5fc12b8fc5d (diff) | |
parent | 96491a70e8b61ba5700c78dd7b20fe9ca9a3b665 (diff) | |
download | forums-1c5a4c12137beeaf3c0713272fe90861acd87bf4.tar forums-1c5a4c12137beeaf3c0713272fe90861acd87bf4.tar.gz forums-1c5a4c12137beeaf3c0713272fe90861acd87bf4.tar.bz2 forums-1c5a4c12137beeaf3c0713272fe90861acd87bf4.tar.xz forums-1c5a4c12137beeaf3c0713272fe90861acd87bf4.zip |
Merge pull request #5533 from rubencm/ticket/15965
[ticket/15965] Fix hardcoded directory [3.2.x only]
Diffstat (limited to 'tests/console')
-rw-r--r-- | tests/console/thumbnail_test.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/console/thumbnail_test.php b/tests/console/thumbnail_test.php index d5fbfa0fed..e425d998a2 100644 --- a/tests/console/thumbnail_test.php +++ b/tests/console/thumbnail_test.php @@ -46,6 +46,7 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case $config = $this->config = new \phpbb\config\config(array( 'img_min_thumb_filesize' => 2, 'img_max_thumb_width' => 2, + 'upload_path' => 'files', )); $this->db = $this->db = $this->new_dbal(); @@ -63,8 +64,8 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case ))); $this->application = new Application(); - $this->application->add(new generate($this->user, $this->db, $this->cache, $this->phpbb_root_path, $this->phpEx)); - $this->application->add(new delete($this->user, $this->db, $this->phpbb_root_path)); + $this->application->add(new generate($config, $this->user, $this->db, $this->cache, $this->phpbb_root_path, $this->phpEx)); + $this->application->add(new delete($config, $this->user, $this->db, $this->phpbb_root_path)); $this->application->add(new recreate($this->user)); $phpbb_filesystem = new \phpbb\filesystem\filesystem(); |