mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11250] Add tests for size and attachment
PHPBB3-11250
This commit is contained in:
parent
bf312b5293
commit
cce821f99d
1 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,11 @@ class phpbb_bbcode_parser_test extends PHPUnit_Framework_TestCase
|
||||||
'[color=red]colored[/color]',
|
'[color=red]colored[/color]',
|
||||||
'[color=red:]colored[/color:]',
|
'[color=red:]colored[/color:]',
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'Test default bbcodes: simple size',
|
||||||
|
'[size=75]smaller[/size]',
|
||||||
|
'[size=75:]smaller[/size:]',
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'Test default bbcodes: simple quote',
|
'Test default bbcodes: simple quote',
|
||||||
'[quote]quoted[/quote]',
|
'[quote]quoted[/quote]',
|
||||||
|
@ -133,6 +138,11 @@ class phpbb_bbcode_parser_test extends PHPUnit_Framework_TestCase
|
||||||
'[email=bbcode-test@phpbb.com]Email[/email]',
|
'[email=bbcode-test@phpbb.com]Email[/email]',
|
||||||
'[email=bbcode-test@phpbb.com:]Email[/email:]',
|
'[email=bbcode-test@phpbb.com:]Email[/email:]',
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'Test default bbcodes: simple attachment',
|
||||||
|
'[attachment=0]filename[/attachment]',
|
||||||
|
'[attachment=0:]filename[/attachment:]',
|
||||||
|
),
|
||||||
|
|
||||||
// Special cases for quote which were reported as bugs before
|
// Special cases for quote which were reported as bugs before
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue