aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/fixtures
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2016-07-21 03:37:44 +0200
committerJoshyPHP <s9e.dev@gmail.com>2016-07-21 03:40:01 +0200
commit13a756bfb7f73bdbd89e178617345afa18210b69 (patch)
tree401fedffed7ec3541214d138f55b4749334eb1d1 /tests/text_formatter/s9e/fixtures
parent486ffa85a25ffb5415915c83c9cba81a4df2b528 (diff)
downloadforums-13a756bfb7f73bdbd89e178617345afa18210b69.tar
forums-13a756bfb7f73bdbd89e178617345afa18210b69.tar.gz
forums-13a756bfb7f73bdbd89e178617345afa18210b69.tar.bz2
forums-13a756bfb7f73bdbd89e178617345afa18210b69.tar.xz
forums-13a756bfb7f73bdbd89e178617345afa18210b69.zip
[ticket/14700] Prevent an exception on duplicate smilies in text_formatter
PHPBB3-14700
Diffstat (limited to 'tests/text_formatter/s9e/fixtures')
-rw-r--r--tests/text_formatter/s9e/fixtures/smilies_duplicate.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/text_formatter/s9e/fixtures/smilies_duplicate.xml b/tests/text_formatter/s9e/fixtures/smilies_duplicate.xml
new file mode 100644
index 0000000000..9645f3e516
--- /dev/null
+++ b/tests/text_formatter/s9e/fixtures/smilies_duplicate.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_smilies">
+ <column>smiley_id</column>
+ <column>code</column>
+ <column>emotion</column>
+ <column>smiley_url</column>
+ <column>smiley_width</column>
+ <column>smiley_height</column>
+ <column>smiley_order</column>
+ <column>display_on_posting</column>
+ <row>
+ <value>1</value>
+ <value>:)</value>
+ <value>:)</value>
+ <value>foo.png</value>
+ <value>15</value>
+ <value>17</value>
+ <value>2</value>
+ <value>1</value>
+ </row>
+ <row>
+ <value>2</value>
+ <value>:)</value>
+ <value>:)</value>
+ <value>bar.png</value>
+ <value>15</value>
+ <value>17</value>
+ <value>2</value>
+ <value>2</value>
+ </row>
+ </table>
+</dataset>