diff options
author | Fyorl <gaelreth@gmail.com> | 2012-07-09 02:51:30 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-07-09 14:08:21 +0100 |
commit | 65d7aae2f306d1fed2f26c97caf8b15d178828ce (patch) | |
tree | 4a25509dcb5bc6149b027be8c91dcad4e7fedd02 /tests/upload/filespec_test.php | |
parent | d046b25124e42f1fb99e1eb04b45420a3af3c4d2 (diff) | |
download | forums-65d7aae2f306d1fed2f26c97caf8b15d178828ce.tar forums-65d7aae2f306d1fed2f26c97caf8b15d178828ce.tar.gz forums-65d7aae2f306d1fed2f26c97caf8b15d178828ce.tar.bz2 forums-65d7aae2f306d1fed2f26c97caf8b15d178828ce.tar.xz forums-65d7aae2f306d1fed2f26c97caf8b15d178828ce.zip |
[ticket/10941] Removed superfluous array
PHPBB3-10941
Diffstat (limited to 'tests/upload/filespec_test.php')
-rw-r--r-- | tests/upload/filespec_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/upload/filespec_test.php b/tests/upload/filespec_test.php index 34d561eaa0..c7ff2e78e0 100644 --- a/tests/upload/filespec_test.php +++ b/tests/upload/filespec_test.php @@ -114,7 +114,7 @@ class phpbb_filespec_test extends phpbb_test_case public function test_additional_checks($filename, $expected) { $upload = new phpbb_mock_fileupload(); - $filespec = $this->get_filespec(array('tmp_name', $this->path . $filename)); + $filespec = $this->get_filespec(); $filespec->upload = $upload; $filespec->file_moved = true; $filespec->filesize = $filespec->get_filesize($this->path . $filename); |