diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-12-17 23:29:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-17 23:29:19 +0100 |
commit | de6942e117d4e1b27a62fd1a3bebcad53052140c (patch) | |
tree | 9eb94f4c88875a2f5c92038ac31965ff3a58d31c | |
parent | 544c7c4e0864df7ad1748c21b92a146e84308a06 (diff) | |
download | forums-de6942e117d4e1b27a62fd1a3bebcad53052140c.tar forums-de6942e117d4e1b27a62fd1a3bebcad53052140c.tar.gz forums-de6942e117d4e1b27a62fd1a3bebcad53052140c.tar.bz2 forums-de6942e117d4e1b27a62fd1a3bebcad53052140c.tar.xz forums-de6942e117d4e1b27a62fd1a3bebcad53052140c.zip |
[ticket/14921] Use phpbb.com URL to prevent test failures for remote URLs
PHPBB3-14921
-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'), ); } |