diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-12-27 18:39:53 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-12-27 18:39:53 +0100 |
commit | bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff (patch) | |
tree | 26cc51cabcc695a8c95a345d5c06369074008178 /tests/text_formatter | |
parent | 909f8653ec0bf2905ed8d8a9591486f7eefe4d56 (diff) | |
download | forums-bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff.tar forums-bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff.tar.gz forums-bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff.tar.bz2 forums-bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff.tar.xz forums-bcd5d8b5126e57e8c4c93a0d0c1be5e25f0185ff.zip |
[ticket/14323] Added tests
PHPBB3-14323
Diffstat (limited to 'tests/text_formatter')
-rw-r--r-- | tests/text_formatter/s9e/default_formatting_test.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php index 82c2e1f108..fc6b0a65fa 100644 --- a/tests/text_formatter/s9e/default_formatting_test.php +++ b/tests/text_formatter/s9e/default_formatting_test.php @@ -244,6 +244,14 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case '<a href="http://localhost/phpbb/viewforum.php?f=1#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" class="postlink">viewforum.php?f=1#xxxxxxxxxxxxxxxxxxxxx ... xxxxxxxxxx</a>' ), array( + '[url]http://example.org/0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0[/url]', + '<a href="http://example.org/0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0" class="postlink">http://example.org/0xxxxxxxxxxxxxxxxxxx ... xxxxxxxxx0</a>' + ), + array( + '[url=http://example.org/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[/url]', + '<a href="http://example.org/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" class="postlink">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</a>' + ), + array( '[quote="[url=http://example.org]xxx[/url]"]...[/quote]', '<blockquote><div><cite><a href="http://example.org" class="postlink">xxx</a> wrote:</cite>...</div></blockquote>' ), |