diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-07-16 12:06:23 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:28:07 +0200 |
commit | 3e99816fa2f184b859d47308254aa8f07d68f1dd (patch) | |
tree | fddbba4e2290f98f07e046f7342636ed6334ae72 /tests/functional/fileupload_remote_test.php | |
parent | 9e87e5a3437f3d88f7dac4c576a53fed53ff4bae (diff) | |
download | forums-3e99816fa2f184b859d47308254aa8f07d68f1dd.tar forums-3e99816fa2f184b859d47308254aa8f07d68f1dd.tar.gz forums-3e99816fa2f184b859d47308254aa8f07d68f1dd.tar.bz2 forums-3e99816fa2f184b859d47308254aa8f07d68f1dd.tar.xz forums-3e99816fa2f184b859d47308254aa8f07d68f1dd.zip |
[ticket/13904] Set visibility in files and improve test coverage
PHPBB3-13904
Diffstat (limited to 'tests/functional/fileupload_remote_test.php')
-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 a754d8c91d..a6aa233aaf 100644 --- a/tests/functional/fileupload_remote_test.php +++ b/tests/functional/fileupload_remote_test.php @@ -98,7 +98,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case ->set_max_filesize(1000); $file = $upload->handle_upload('remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif'); $this->assertEquals(0, sizeof($file->error)); - $this->assertTrue(file_exists($file->filename)); + $this->assertTrue(file_exists($file->get('filename'))); } public function test_too_large() |