diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 15:38:50 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 15:38:50 +0200 |
commit | fbf85b76c15c27e478f24947098d56c8c4bb3435 (patch) | |
tree | 1b9838a92ae8d544e5f30a463a773cd742d9a467 /tests | |
parent | 224be5bc4f7ffdf6f22c3da3aff94fb7a3d7571f (diff) | |
download | forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.gz forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.bz2 forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.xz forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.zip |
[feature/soft-delete] Correctly synchronize the topic_visibility in sync()
This also makes sync('topic_visibility') obsolete, but we keep it for now.
Also fix a unit test, because ITEM_DELETED overpowers ITEM_UNAPPROVED
PHPBB3-9567
Diffstat (limited to 'tests')
-rw-r--r-- | tests/content_visibility/set_post_visibility_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/content_visibility/set_post_visibility_test.php b/tests/content_visibility/set_post_visibility_test.php index 42459c515a..d3b237e3e9 100644 --- a/tests/content_visibility/set_post_visibility_test.php +++ b/tests/content_visibility/set_post_visibility_test.php @@ -62,7 +62,7 @@ class phpbb_content_visibility_set_post_visibility_test extends phpbb_database_t array('post_id' => 3, 'post_visibility' => 2, 'post_delete_reason' => ''), ), array( - array('topic_visibility' => 0, 'topic_first_post_id' => 1, 'topic_last_post_id' => 3), + array('topic_visibility' => 2, 'topic_first_post_id' => 1, 'topic_last_post_id' => 3), ), ), array( |