aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorhanakin <midaym@gmail.com>2017-01-23 21:59:00 -0500
committerhanakin <midaym@gmail.com>2017-01-23 21:59:00 -0500
commit3e73413982dfa247c039f4c8a82b34d2c7483c2c (patch)
tree3932dbabe04f59f5c67dfe4aa85e0bdae2187b15 /tests/functional
parent71ca228b8e33b56f75e7e977b28bbb72ada23d72 (diff)
downloadforums-3e73413982dfa247c039f4c8a82b34d2c7483c2c.tar
forums-3e73413982dfa247c039f4c8a82b34d2c7483c2c.tar.gz
forums-3e73413982dfa247c039f4c8a82b34d2c7483c2c.tar.bz2
forums-3e73413982dfa247c039f4c8a82b34d2c7483c2c.tar.xz
forums-3e73413982dfa247c039f4c8a82b34d2c7483c2c.zip
[ticket/15037]a attempt to fix stupid test issue
PHPBB3-15037
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/fileupload_remote_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/fileupload_remote_test.php b/tests/functional/fileupload_remote_test.php
index b70d49cddd..3dc8986948 100644
--- a/tests/functional/fileupload_remote_test.php
+++ b/tests/functional/fileupload_remote_test.php
@@ -101,7 +101,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$upload->set_error_prefix('')
->set_allowed_extensions(array('gif'))
->set_max_filesize(1000);
- $file = $upload->handle_upload('files.types.remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif');
+ $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')));
$this->assertTrue($file->is_uploaded());
@@ -113,8 +113,8 @@ 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(100);
- $file = $upload->handle_upload('files.types.remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif');
+ ->set_max_filesize(1);
+ $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]);
}