mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
[ticket/11103] Mock notification manager
Fixing delete_user_pms_test.php PHPBB3-11103
This commit is contained in:
@@ -81,9 +81,10 @@ class phpbb_privmsgs_delete_user_pms_test extends phpbb_database_test_case
|
||||
*/
|
||||
public function test_delete_user_pms($delete_user, $remaining_privmsgs, $remaining_privmsgs_to)
|
||||
{
|
||||
global $db;
|
||||
global $db, $phpbb_notifications;
|
||||
|
||||
$db = $this->new_dbal();
|
||||
$phpbb_notifications = new phpbb_mock_notification_manager();
|
||||
|
||||
phpbb_delete_user_pms($delete_user);
|
||||
|
||||
|
Reference in New Issue
Block a user