1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

Merge pull request #6702 from marc1706/ticket/16777

[ticket/16777] Remove remainders of max image size
This commit is contained in:
Marc Alexander
2024-09-29 20:47:40 +02:00
committed by GitHub
10 changed files with 38 additions and 20 deletions

View File

@@ -18,14 +18,16 @@ class phpbb_functional_manifest_test extends phpbb_functional_test_case
{
public function test_manifest()
{
$url_path = preg_replace('#^(/.+)/$#', '$1', parse_url(self::$root_url, PHP_URL_PATH));
$expected = [
'name' => 'yourdomain.com',
'short_name' => 'yourdomain',
'display' => 'standalone',
'orientation' => 'portrait',
'dir' => 'ltr',
'start_url' => '/',
'scope' => '/',
'start_url' => $url_path,
'scope' => $url_path,
];
$this->login();

View File

@@ -40,8 +40,6 @@ class phpbb_text_processing_message_parser_test extends phpbb_test_case
$map = array(
array('MAX_FONT_SIZE_EXCEEDED', 120, 'You may only use fonts up to size 120.'),
array('MAX_FONT_SIZE_EXCEEDED', 200, 'You may only use fonts up to size 200.'),
array('MAX_IMG_HEIGHT_EXCEEDED', 12, 'Your images may only be up to 12 pixels high.'),
array('MAX_IMG_WIDTH_EXCEEDED', 34, 'Your images may only be up to 34 pixels wide.'),
array('TOO_MANY_SMILIES', 3, 'Your message contains too many smilies. The maximum number of smilies allowed is 3.'),
array('TOO_MANY_URLS', 2, 'Your message contains too many URLs. The maximum number of URLs allowed is 2.'),
array('UNAUTHORISED_BBCODE', '[img]', 'You cannot use certain BBCodes: [img].'),