diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 09:41:40 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 09:41:40 +0200 |
commit | 327e36a4d68ff9607967af52ef8f6a00c60343ff (patch) | |
tree | 84ad0be3d861f33636f1641c4593a067fea4ef5e /tests/upload/fileupload_test.php | |
parent | 223fa3aed5df1c2885c2f7fe837ac8cb47cd44f2 (diff) | |
download | forums-327e36a4d68ff9607967af52ef8f6a00c60343ff.tar forums-327e36a4d68ff9607967af52ef8f6a00c60343ff.tar.gz forums-327e36a4d68ff9607967af52ef8f6a00c60343ff.tar.bz2 forums-327e36a4d68ff9607967af52ef8f6a00c60343ff.tar.xz forums-327e36a4d68ff9607967af52ef8f6a00c60343ff.zip |
[ticket/13904] Modify files for updated fast-image-size library
PHPBB3-13904
Diffstat (limited to 'tests/upload/fileupload_test.php')
-rw-r--r-- | tests/upload/fileupload_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/upload/fileupload_test.php b/tests/upload/fileupload_test.php index bb3092528b..01b625efbb 100644 --- a/tests/upload/fileupload_test.php +++ b/tests/upload/fileupload_test.php @@ -72,7 +72,7 @@ class phpbb_fileupload_test extends phpbb_test_case $this->filesystem, $this->language, $this->php_ini, - new \fastImageSize\fastImageSize(), + new \FastImageSize\FastImageSize(), $phpbb_root_path, new \phpbb\mimetype\guesser(array( 'mimetype.extension_guesser' => new \phpbb\mimetype\extension_guesser(), @@ -132,7 +132,7 @@ class phpbb_fileupload_test extends phpbb_test_case $upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path); $upload->set_allowed_extensions(array('jpg')) ->set_max_filesize(1000); - $file = new \phpbb\files\filespec($this->filesystem, $this->language, $this->php_ini, new \fastImageSize\fastImageSize(), $this->phpbb_root_path); + $file = new \phpbb\files\filespec($this->filesystem, $this->language, $this->php_ini, new \FastImageSize\FastImageSize(), $this->phpbb_root_path); $file->set_upload_ary(array( 'size' => 50, 'tmp_name' => dirname(__FILE__) . '/fixture/disallowed', |