mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 15:53:14 +02:00
[ticket/11250] Add tests for size and attachment
PHPBB3-11250
This commit is contained in:
parent
bf312b5293
commit
cce821f99d
@ -38,6 +38,11 @@ class phpbb_bbcode_parser_test extends PHPUnit_Framework_TestCase
|
||||
'[color=red]colored[/color]',
|
||||
'[color=red:]colored[/color:]',
|
||||
),
|
||||
array(
|
||||
'Test default bbcodes: simple size',
|
||||
'[size=75]smaller[/size]',
|
||||
'[size=75:]smaller[/size:]',
|
||||
),
|
||||
array(
|
||||
'Test default bbcodes: simple 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:]',
|
||||
),
|
||||
array(
|
||||
'Test default bbcodes: simple attachment',
|
||||
'[attachment=0]filename[/attachment]',
|
||||
'[attachment=0:]filename[/attachment:]',
|
||||
),
|
||||
|
||||
// Special cases for quote which were reported as bugs before
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user