mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 20:11:54 +02:00
[feature/soft-delete]Fix the rest of unit tests failures
PHPBB3-9567
This commit is contained in:
@@ -79,8 +79,9 @@ class phpbb_content_visibility_set_topic_visibility_test extends phpbb_database_
|
||||
*/
|
||||
public function test_set_topic_visibility($visibility, $topic_id, $forum_id, $user_id, $time, $reason, $force_update_all, $expected_posts, $expected_topic)
|
||||
{
|
||||
global $db;
|
||||
global $cache, $db;
|
||||
|
||||
$cache = new phpbb_mock_cache;
|
||||
$db = $this->new_dbal();
|
||||
|
||||
phpbb_content_visibility::set_topic_visibility($visibility, $topic_id, $forum_id, $user_id, $time, $reason, $force_update_all);
|
||||
|
Reference in New Issue
Block a user