aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorhanakin <midaym@gmail.com>2017-01-23 22:41:08 -0500
committerhanakin <midaym@gmail.com>2017-01-23 22:41:08 -0500
commit6f7b92ae1023f958e4b9894950a412fadc52b802 (patch)
tree4a59430324eff9fc74b5577d224f550c3eec6ed7 /tests/functional
parent3e73413982dfa247c039f4c8a82b34d2c7483c2c (diff)
downloadforums-6f7b92ae1023f958e4b9894950a412fadc52b802.tar
forums-6f7b92ae1023f958e4b9894950a412fadc52b802.tar.gz
forums-6f7b92ae1023f958e4b9894950a412fadc52b802.tar.bz2
forums-6f7b92ae1023f958e4b9894950a412fadc52b802.tar.xz
forums-6f7b92ae1023f958e4b9894950a412fadc52b802.zip
[ticket/15307] fix for good!
PHPBB3-15037
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/fileupload_remote_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/fileupload_remote_test.php b/tests/functional/fileupload_remote_test.php
index 3dc8986948..09c123fa7b 100644
--- a/tests/functional/fileupload_remote_test.php
+++ b/tests/functional/fileupload_remote_test.php
@@ -100,7 +100,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
$upload->set_error_prefix('')
->set_allowed_extensions(array('gif'))
- ->set_max_filesize(1000);
+ ->set_max_filesize(1100);
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif');
$this->assertEquals(0, sizeof($file->error));
$this->assertTrue(file_exists($file->get('filename')));
@@ -113,7 +113,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
$upload->set_error_prefix('')
->set_allowed_extensions(array('gif'))
- ->set_max_filesize(1);
+ ->set_max_filesize(100);
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif');
$this->assertEquals(1, sizeof($file->error));
$this->assertEquals('WRONG_FILESIZE', $file->error[0]);