mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13146] Missing delete post test mock
PHPBB3-13146
This commit is contained in:
parent
8376a027a1
commit
b3bcc1b501
1 changed files with 3 additions and 1 deletions
|
@ -296,7 +296,9 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case
|
|||
$cache = new phpbb_mock_cache;
|
||||
$db = $this->new_dbal();
|
||||
$phpbb_config = new \phpbb\config\config(array('num_posts' => 3, 'num_topics' => 1));
|
||||
$phpbb_dispatcher = $this->getMock('\phpbb\event\dispatcher');
|
||||
$phpbb_dispatcher = $this->getMockBuilder('\phpbb\event\dispatcher')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
set_config_count(null, null, null, $phpbb_config);
|
||||
|
||||
// Create auth mock
|
||||
|
|
Loading…
Add table
Reference in a new issue