diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-12-18 10:44:14 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-18 10:44:14 +0100 |
commit | a73c7398f390eea8165c4d8565732ced85dee3ce (patch) | |
tree | d1237bd39c25582b478daaca8711c4dbc6c8bd4f | |
parent | 5ecd9fb775c83f9825363ae39dbc653585b1b1e4 (diff) | |
parent | de6942e117d4e1b27a62fd1a3bebcad53052140c (diff) | |
download | forums-a73c7398f390eea8165c4d8565732ced85dee3ce.tar forums-a73c7398f390eea8165c4d8565732ced85dee3ce.tar.gz forums-a73c7398f390eea8165c4d8565732ced85dee3ce.tar.bz2 forums-a73c7398f390eea8165c4d8565732ced85dee3ce.tar.xz forums-a73c7398f390eea8165c4d8565732ced85dee3ce.zip |
Merge pull request #4583 from marc1706/ticket/14921
[ticket/14921] Use phpbb.com URL to prevent test failures for remote URLs
-rw-r--r-- | tests/files/types_remote_test.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/files/types_remote_test.php b/tests/files/types_remote_test.php index d103771c04..1a7d63d790 100644 --- a/tests/files/types_remote_test.php +++ b/tests/files/types_remote_test.php @@ -84,16 +84,16 @@ class phpbb_files_types_remote_test extends phpbb_test_case public function data_get_max_file_size() { return array( - array('', 'http://example.com/foo/bar.png'), - array('2k', 'http://example.com/foo/bar.png'), - array('500k', 'http://example.com/foo/bar.png'), - array('500M', 'http://example.com/foo/bar.png'), - array('500m', 'http://example.com/foo/bar.png'), + array('', 'http://phpbb.com/foo/bar.png'), + array('2k', 'http://phpbb.com/foo/bar.png'), + array('500k', 'http://phpbb.com/foo/bar.png'), + array('500M', 'http://phpbb.com/foo/bar.png'), + array('500m', 'http://phpbb.com/foo/bar.png'), array('500k', 'http://google.com/?.png', array('DISALLOWED_EXTENSION', 'DISALLOWED_CONTENT')), array('1', 'http://google.com/?.png', array('WRONG_FILESIZE')), - array('500g', 'http://example.com/foo/bar.png'), - array('foobar', 'http://example.com/foo/bar.png'), - array('-5k', 'http://example.com/foo/bar.png'), + array('500g', 'http://phpbb.com/foo/bar.png'), + array('foobar', 'http://phpbb.com/foo/bar.png'), + array('-5k', 'http://phpbb.com/foo/bar.png'), ); } |