diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2016-11-27 13:30:15 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2016-11-27 13:30:15 +0100 |
commit | 88c921be23a2cddbfb3ac7272eb14305664b6542 (patch) | |
tree | 08e786237cb300617a84d4d03e8b7bd02090e008 /tests/text_formatter/s9e | |
parent | 9432662c372df946fa9d5b810a5d4bd9896acc84 (diff) | |
download | forums-88c921be23a2cddbfb3ac7272eb14305664b6542.tar forums-88c921be23a2cddbfb3ac7272eb14305664b6542.tar.gz forums-88c921be23a2cddbfb3ac7272eb14305664b6542.tar.bz2 forums-88c921be23a2cddbfb3ac7272eb14305664b6542.tar.xz forums-88c921be23a2cddbfb3ac7272eb14305664b6542.zip |
[ticket/14873] Added width/height attributes to smilies
PHPBB3-14873
Diffstat (limited to 'tests/text_formatter/s9e')
-rw-r--r-- | tests/text_formatter/s9e/factory_test.php | 2 | ||||
-rw-r--r-- | tests/text_formatter/s9e/renderer_test.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/text_formatter/s9e/factory_test.php b/tests/text_formatter/s9e/factory_test.php index 368b8a4f4b..3d3ea8b794 100644 --- a/tests/text_formatter/s9e/factory_test.php +++ b/tests/text_formatter/s9e/factory_test.php @@ -165,7 +165,7 @@ class phpbb_textformatter_s9e_factory_test extends phpbb_database_test_case $renderer = $this->get_test_case_helpers()->set_s9e_services(null, $fixture)->get('text_formatter.renderer'); $this->assertSame( - '<img class="smilies" src="phpBB/images/smilies/%22%27%3C&%3E.png" alt=""\'<&>" title=""\'<&>">', + '<img class="smilies" src="phpBB/images/smilies/%22%27%3C&%3E.png" width="15" height="17" alt=""\'<&>" title=""\'<&>">', $renderer->render('<r><E>"\'<&></E></r>') ); } diff --git a/tests/text_formatter/s9e/renderer_test.php b/tests/text_formatter/s9e/renderer_test.php index 2b034259c9..175b90fdc7 100644 --- a/tests/text_formatter/s9e/renderer_test.php +++ b/tests/text_formatter/s9e/renderer_test.php @@ -115,7 +115,7 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case ), array( '<r><E>:)</E></r>', - '<img class="smilies" src="phpBB/images/smilies/icon_e_smile.gif" alt=":)" title="Smile">', + '<img class="smilies" src="phpBB/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":)" title="Smile">', array('set_viewsmilies' => true) ), array( @@ -248,7 +248,7 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case ), array( '<r><E>:)</E></r>', - '<img class="smilies" src="phpBB/images/smilies/icon_e_smile.gif" alt=":)" title="Smile">' + '<img class="smilies" src="phpBB/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":)" title="Smile">' ), array( '<r><E>:)</E></r>', |