diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-08-27 12:48:06 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:29:06 +0200 |
commit | b29b62debe4077ec688ebee9e9363db2c8614dd5 (patch) | |
tree | ca58b0928b1dccf8d40dcd8c533f8830d9f4d855 /tests | |
parent | 16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11 (diff) | |
download | forums-b29b62debe4077ec688ebee9e9363db2c8614dd5.tar forums-b29b62debe4077ec688ebee9e9363db2c8614dd5.tar.gz forums-b29b62debe4077ec688ebee9e9363db2c8614dd5.tar.bz2 forums-b29b62debe4077ec688ebee9e9363db2c8614dd5.tar.xz forums-b29b62debe4077ec688ebee9e9363db2c8614dd5.zip |
[ticket/13904] Use ini_get() wrapper in file upload types
PHPBB3-13904
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/fileupload_remote_test.php | 2 | ||||
-rw-r--r-- | tests/upload/fileupload_test.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional/fileupload_remote_test.php b/tests/functional/fileupload_remote_test.php index 6752ff01f4..29701e072a 100644 --- a/tests/functional/fileupload_remote_test.php +++ b/tests/functional/fileupload_remote_test.php @@ -60,7 +60,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case $container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language, $this->php_ini, $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->request, $phpbb_root_path)); + $container->set('files.types.remote', new \phpbb\files\types\remote($this->factory, $this->language, $this->php_ini, $this->request, $phpbb_root_path)); $this->phpbb_root_path = $phpbb_root_path; } diff --git a/tests/upload/fileupload_test.php b/tests/upload/fileupload_test.php index 43106599e4..8675567e22 100644 --- a/tests/upload/fileupload_test.php +++ b/tests/upload/fileupload_test.php @@ -81,12 +81,14 @@ class phpbb_fileupload_test extends phpbb_test_case $this->container->set('files.types.form', new \phpbb\files\types\form( $this->factory, $this->language, + $this->php_ini, $plupload, $this->request ), phpbb_mock_container_builder::SCOPE_PROTOTYPE); $this->container->set('files.types.local', new \phpbb\files\types\local( $this->factory, $this->language, + $this->php_ini, $this->request ), phpbb_mock_container_builder::SCOPE_PROTOTYPE); |