diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-09-03 17:20:54 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:29:07 +0200 |
commit | 591995267a3f1931131fa630bd3ff120476f881f (patch) | |
tree | bedddcd0015ceec05fa8a32cab473b849bb01112 /tests/functional | |
parent | c3ccd423d2a6f3aab1183b22177df6f605f33371 (diff) | |
download | forums-591995267a3f1931131fa630bd3ff120476f881f.tar forums-591995267a3f1931131fa630bd3ff120476f881f.tar.gz forums-591995267a3f1931131fa630bd3ff120476f881f.tar.bz2 forums-591995267a3f1931131fa630bd3ff120476f881f.tar.xz forums-591995267a3f1931131fa630bd3ff120476f881f.zip |
[ticket/13904] Improve test coverage of filespec class
PHPBB3-13904
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/fileupload_remote_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/fileupload_remote_test.php b/tests/functional/fileupload_remote_test.php index 29701e072a..1484acc4d5 100644 --- a/tests/functional/fileupload_remote_test.php +++ b/tests/functional/fileupload_remote_test.php @@ -57,7 +57,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case $this->php_ini = new \bantu\IniGetWrapper\IniGetWrapper; $container = new phpbb_mock_container_builder(); - $container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language, $this->php_ini, $this->phpbb_root_path)); + $container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language, $this->php_ini, new \fastImageSize\fastImageSize(), $this->phpbb_root_path)); $this->factory = new \phpbb\files\factory($container); $container->set('files.factory', $this->factory); $container->set('files.types.remote', new \phpbb\files\types\remote($this->factory, $this->language, $this->php_ini, $this->request, $phpbb_root_path)); |