aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-02-03 14:06:10 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-02-03 14:06:10 +0100
commitc83db45f55858c78648a6650aec39a9fc627a50b (patch)
tree86b575f69ecca5bccea6b50bf12a71fa73955f8b /tests/files
parent5ee559d5240fb0fa239ce87657ce109a35ab37f8 (diff)
downloadforums-c83db45f55858c78648a6650aec39a9fc627a50b.tar
forums-c83db45f55858c78648a6650aec39a9fc627a50b.tar.gz
forums-c83db45f55858c78648a6650aec39a9fc627a50b.tar.bz2
forums-c83db45f55858c78648a6650aec39a9fc627a50b.tar.xz
forums-c83db45f55858c78648a6650aec39a9fc627a50b.zip
[ticket/14448] Use GuzzleHttp and try to verify certs
PHPBB3-14448
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/types_remote_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/files/types_remote_test.php b/tests/files/types_remote_test.php
index caed5c9e05..96103ad046 100644
--- a/tests/files/types_remote_test.php
+++ b/tests/files/types_remote_test.php
@@ -118,7 +118,7 @@ class phpbb_files_types_remote_test extends phpbb_test_case
$upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
$upload->set_allowed_extensions(array('png'));
$type_remote->set_upload($upload);
- $upload->upload_timeout = -5;
+ $upload->upload_timeout = 0.001;
$file = $type_remote->upload('http://google.com/?.png');