diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-05 13:12:36 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-05 13:12:36 +0200 |
commit | bfa6a50a4ff2caf1589a1039c1037d4153223d63 (patch) | |
tree | 83e8676be5d80d8b8cc8adf4ec2c9d571d025fde /tests/content_visibility | |
parent | 63d11c976b0bcef68ce4809c8c76124451df88ea (diff) | |
download | forums-bfa6a50a4ff2caf1589a1039c1037d4153223d63.tar forums-bfa6a50a4ff2caf1589a1039c1037d4153223d63.tar.gz forums-bfa6a50a4ff2caf1589a1039c1037d4153223d63.tar.bz2 forums-bfa6a50a4ff2caf1589a1039c1037d4153223d63.tar.xz forums-bfa6a50a4ff2caf1589a1039c1037d4153223d63.zip |
[feature/soft-delete] Extend functionality for updating a hole topic
Limit the posts to a certain visibility and deletion time
This allows us to only restore posts, that were approved
when the topic got soft deleted. So previous soft deleted
and unapproved posts are still soft deleted/unapproved
PHPBB3-9567
Diffstat (limited to 'tests/content_visibility')
-rw-r--r-- | tests/content_visibility/set_post_visibility_test.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/content_visibility/set_post_visibility_test.php b/tests/content_visibility/set_post_visibility_test.php index 0fc2f349c0..42459c515a 100644 --- a/tests/content_visibility/set_post_visibility_test.php +++ b/tests/content_visibility/set_post_visibility_test.php @@ -107,18 +107,6 @@ class phpbb_content_visibility_set_post_visibility_test extends phpbb_database_t array('topic_visibility' => 2, 'topic_first_post_id' => 8, 'topic_last_post_id' => 8), ), ), - array( - ITEM_UNAPPROVED, - 8, 3, 1, - 2, time(), 'unapproved', - true, true, - array( - array('post_id' => 8, 'post_visibility' => 0, 'post_delete_reason' => 'unapproved'), - ), - array( - array('topic_visibility' => 0, 'topic_first_post_id' => 8, 'topic_last_post_id' => 8), - ), - ), ); } |