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

[ticket/10950] Fix unit tests to reflect desired behaviour

See http://wiki.phpbb.com/Deleting_Private_Messages for further explanation.

PHPBB3-10950
This commit is contained in:
Joas Schilling
2012-07-04 13:00:04 +02:00
parent d30dc11f3e
commit 7988045bda
2 changed files with 105 additions and 4 deletions

View File

@@ -66,14 +66,50 @@
<value>0</value>
<value>2</value>
<value>#1</value>
<value>#1</value>
<value>
2 - outbox
3 - inbox
4 - nobox
</value>
</row>
<row>
<value>2</value>
<value>0</value>
<value>2</value>
<value>#2</value>
<value>#2</value>
<value>
2 - outbox
4 - nobox
</value>
</row>
<row>
<value>3</value>
<value>0</value>
<value>2</value>
<value>#3</value>
<value>
2 - outbox
</value>
</row>
<row>
<value>4</value>
<value>0</value>
<value>2</value>
<value>#4</value>
<value>
3 - nobox
</value>
</row>
<row>
<value>5</value>
<value>0</value>
<value>2</value>
<value>#5</value>
<value>
2 - outbox
3 - nobox
4 - nobox
</value>
</row>
</table>
<table name="phpbb_privmsgs_to">
@@ -123,5 +159,45 @@
<value>0</value>
<value>-3</value>
</row>
<row>
<value>3</value>
<value>2</value>
<value>2</value>
<value>0</value>
<value>0</value>
<value>-2</value>
</row>
<row>
<value>4</value>
<value>3</value>
<value>2</value>
<value>0</value>
<value>0</value>
<value>-3</value>
</row>
<row>
<value>5</value>
<value>2</value>
<value>2</value>
<value>0</value>
<value>0</value>
<value>-2</value>
</row>
<row>
<value>5</value>
<value>3</value>
<value>2</value>
<value>0</value>
<value>0</value>
<value>-3</value>
</row>
<row>
<value>5</value>
<value>4</value>
<value>2</value>
<value>0</value>
<value>0</value>
<value>-3</value>
</row>
</table>
</dataset>