aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_reparser/plugins
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2018-01-12 16:28:37 +0100
committerJoshyPHP <s9e.dev@gmail.com>2018-01-12 16:28:37 +0100
commit5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab (patch)
treea8587298c903342c26d4913e4220aa08c2a64a3a /tests/text_reparser/plugins
parent7f6ececf95da25ce37e6f1359755d62820a3b2ce (diff)
downloadforums-5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab.tar
forums-5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab.tar.gz
forums-5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab.tar.bz2
forums-5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab.tar.xz
forums-5878d66ebfe6a25c6d5e495c4fd07e7d3ad634ab.zip
[ticket/15512] Avoid reparsing non-existent polls
PHPBB3-15512
Diffstat (limited to 'tests/text_reparser/plugins')
-rw-r--r--tests/text_reparser/plugins/fixtures/polls.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/text_reparser/plugins/fixtures/polls.xml b/tests/text_reparser/plugins/fixtures/polls.xml
index 2960d640a9..5247fb906d 100644
--- a/tests/text_reparser/plugins/fixtures/polls.xml
+++ b/tests/text_reparser/plugins/fixtures/polls.xml
@@ -44,55 +44,66 @@
<column>topic_id</column>
<column>topic_first_post_id</column>
<column>poll_title</column>
+ <column>poll_start</column>
<row>
<value>1</value>
<value>1</value>
<value>This row should be [b]ignored[/b]</value>
+ <value>1</value>
</row>
<row>
<value>2</value>
<value>1</value>
<value>[b]Not bold[/b] :) http://example.org</value>
+ <value>1</value>
</row>
<row>
<value>3</value>
<value>2</value>
<value>[b:abcd1234]Bold[/b:abcd1234] :) http://example.org</value>
+ <value>1</value>
</row>
<row>
<value>4</value>
<value>3</value>
<value><![CDATA[[b]Not bold[/b] <!-- s:) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!-- s:) --> http://example.org]]></value>
+ <value>1</value>
</row>
<row>
<value>5</value>
<value>4</value>
<value><![CDATA[[b]Not bold[/b] :) <!-- m --><a class="postlink" href="http://example.org">http://example.org</a><!-- m -->]]></value>
+ <value>1</value>
</row>
<row>
<value>6</value>
<value>2</value>
<value><![CDATA[[flash=123,345:abcd1234]http&#58;//example&#46;org/flash&#46;swf[/flash:abcd1234]]]></value>
+ <value>1</value>
</row>
<row>
<value>7</value>
<value>1</value>
<value><![CDATA[[flash=123,345]http://example.org/flash.swf[/flash]]]></value>
+ <value>1</value>
</row>
<row>
<value>8</value>
<value>2</value>
<value><![CDATA[[img:abcd1234]http&#58;//example&#46;org/img&#46;png[/img:abcd1234]]]></value>
+ <value>1</value>
</row>
<row>
<value>9</value>
<value>1</value>
<value><![CDATA[[img]http://example.org/img.png[/img]]]></value>
+ <value>1</value>
</row>
<row>
<value>1000</value>
<value>1</value>
<value>This row should be [b]ignored[/b]</value>
+ <value>1</value>
</row>
</table>
</dataset>