aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload/filespec_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/upload/filespec_test.php')
-rw-r--r--tests/upload/filespec_test.php2
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);