aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/files/types_remote_test.php16
-rw-r--r--tests/plupload/plupload_test.php2
2 files changed, 9 insertions, 9 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'),
);
}
diff --git a/tests/plupload/plupload_test.php b/tests/plupload/plupload_test.php
index 3312f4d0a0..46bebb8d35 100644
--- a/tests/plupload/plupload_test.php
+++ b/tests/plupload/plupload_test.php
@@ -24,7 +24,7 @@ class phpbb_plupload_test extends phpbb_test_case
array(
130,
150,
- 'resize: {width: 130, height: 150, quality: 100},'
+ 'resize: {width: 130, height: 150, quality: 85},'
),
);
}