1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 11:10:18 +02:00

[ticket/11405] Add unit tests for bookmarking

PHPBB3-11405
This commit is contained in:
Joas Schilling
2013-03-26 12:59:35 +01:00
parent cdd45cb8ba
commit 7e2f80ec0a
2 changed files with 165 additions and 0 deletions

View File

@@ -1,5 +1,33 @@
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
<table name="phpbb_bookmarks">
<column>topic_id</column>
<column>user_id</column>
<row>
<value>1</value>
<value>2</value>
</row>
<row>
<value>1</value>
<value>3</value>
</row>
<row>
<value>1</value>
<value>4</value>
</row>
<row>
<value>1</value>
<value>5</value>
</row>
<row>
<value>1</value>
<value>6</value>
</row>
<row>
<value>1</value>
<value>7</value>
</row>
</table>
<table name="phpbb_forums_watch">
<column>forum_id</column>
<column>user_id</column>
@@ -43,6 +71,14 @@
<value>0</value>
<value></value>
</row>
<row>
<value>bookmark</value>
<value>5</value>
<value>1</value>
<value>1</value>
<value>0</value>
<value></value>
</row>
<row>
<value>post</value>
<value>8</value>
@@ -63,6 +99,10 @@
<value>quote</value>
<value>1</value>
</row>
<row>
<value>bookmark</value>
<value>1</value>
</row>
</table>
<table name="phpbb_posts">
<column>post_id</column>
@@ -190,6 +230,13 @@
<value></value>
<value>1</value>
</row>
<row>
<value>bookmark</value>
<value>0</value>
<value>2</value>
<value></value>
<value>1</value>
</row>
<row>
<value>post</value>
<value>0</value>
@@ -204,6 +251,13 @@
<value></value>
<value>1</value>
</row>
<row>
<value>bookmark</value>
<value>0</value>
<value>3</value>
<value></value>
<value>1</value>
</row>
<row>
<value>post</value>
<value>0</value>
@@ -218,6 +272,13 @@
<value></value>
<value>1</value>
</row>
<row>
<value>bookmark</value>
<value>0</value>
<value>4</value>
<value></value>
<value>1</value>
</row>
<row>
<value>post</value>
<value>0</value>
@@ -232,6 +293,13 @@
<value></value>
<value>1</value>
</row>
<row>
<value>bookmark</value>
<value>0</value>
<value>5</value>
<value></value>
<value>1</value>
</row>
<row>
<value>post</value>
<value>0</value>
@@ -246,6 +314,13 @@
<value></value>
<value>0</value>
</row>
<row>
<value>bookmark</value>
<value>0</value>
<value>6</value>
<value></value>
<value>0</value>
</row>
<row>
<value>post</value>
<value>0</value>