aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/fixtures
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-25 14:40:53 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-25 15:07:05 +0100
commit499eded88004f0bbae554090939b38e6158c8271 (patch)
tree7f042994911cafafd8398fd0e9d8234702c16855 /tests/notification/fixtures
parent7d5949ae3d2faba5dc76c3d355e73b5abaa8e6c1 (diff)
downloadforums-499eded88004f0bbae554090939b38e6158c8271.tar
forums-499eded88004f0bbae554090939b38e6158c8271.tar.gz
forums-499eded88004f0bbae554090939b38e6158c8271.tar.bz2
forums-499eded88004f0bbae554090939b38e6158c8271.tar.xz
forums-499eded88004f0bbae554090939b38e6158c8271.zip
[ticket/11405] Add unit tests for quoted users notifications
PHPBB3-11405
Diffstat (limited to 'tests/notification/fixtures')
-rw-r--r--tests/notification/fixtures/submit_post_notification.xml98
1 files changed, 98 insertions, 0 deletions
diff --git a/tests/notification/fixtures/submit_post_notification.xml b/tests/notification/fixtures/submit_post_notification.xml
index c082402056..5c59edf073 100644
--- a/tests/notification/fixtures/submit_post_notification.xml
+++ b/tests/notification/fixtures/submit_post_notification.xml
@@ -34,6 +34,13 @@
<value></value>
</row>
<row>
+ <value>quote</value>
+ <value>5</value>
+ <value>1</value>
+ <value>1</value>
+ <value></value>
+ </row>
+ <row>
<value>post</value>
<value>8</value>
<value>1</value>
@@ -73,6 +80,62 @@
<value>0</value>
</row>
</table>
+ <table name="phpbb_users">
+ <column>user_id</column>
+ <column>username_clean</column>
+ <column>user_permissions</column>
+ <column>user_sig</column>
+ <column>user_occ</column>
+ <column>user_interests</column>
+ <row>
+ <value>2</value>
+ <value>poster</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ <row>
+ <value>3</value>
+ <value>test</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ <row>
+ <value>4</value>
+ <value>unauthorized</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ <row>
+ <value>5</value>
+ <value>notified</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ <row>
+ <value>6</value>
+ <value>disabled</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ <row>
+ <value>7</value>
+ <value>default</value>
+ <value></value>
+ <value></value>
+ <value></value>
+ <value></value>
+ </row>
+ </table>
<table name="phpbb_user_notifications">
<column>item_type</column>
<column>item_id</column>
@@ -87,6 +150,13 @@
<value>1</value>
</row>
<row>
+ <value>quote</value>
+ <value>0</value>
+ <value>2</value>
+ <value></value>
+ <value>1</value>
+ </row>
+ <row>
<value>post</value>
<value>0</value>
<value>3</value>
@@ -94,6 +164,13 @@
<value>1</value>
</row>
<row>
+ <value>quote</value>
+ <value>0</value>
+ <value>3</value>
+ <value></value>
+ <value>1</value>
+ </row>
+ <row>
<value>post</value>
<value>0</value>
<value>4</value>
@@ -101,6 +178,13 @@
<value>1</value>
</row>
<row>
+ <value>quote</value>
+ <value>0</value>
+ <value>4</value>
+ <value></value>
+ <value>1</value>
+ </row>
+ <row>
<value>post</value>
<value>0</value>
<value>5</value>
@@ -108,6 +192,13 @@
<value>1</value>
</row>
<row>
+ <value>quote</value>
+ <value>0</value>
+ <value>5</value>
+ <value></value>
+ <value>1</value>
+ </row>
+ <row>
<value>post</value>
<value>0</value>
<value>6</value>
@@ -115,6 +206,13 @@
<value>1</value>
</row>
<row>
+ <value>quote</value>
+ <value>0</value>
+ <value>6</value>
+ <value></value>
+ <value>0</value>
+ </row>
+ <row>
<value>post</value>
<value>0</value>
<value>7</value>