mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/17535] Fix tests PHP deprecations and notices
PHPBB-17535
This commit is contained in:
@@ -21,7 +21,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
|
||||
{
|
||||
/** @var phpbb_notification_manager_helper */
|
||||
protected $notifications;
|
||||
protected $db, $container, $user, $config, $auth, $cache;
|
||||
protected $db, $container, $user, $config, $auth, $cache, $user_loader, $phpbb_dispatcher;
|
||||
|
||||
protected function get_notification_types()
|
||||
{
|
||||
|
@@ -14,7 +14,9 @@ require_once __DIR__ . '/../mock/sql_insert_buffer.php';
|
||||
|
||||
class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
{
|
||||
protected $notifications, $db, $doctrine_db, $container, $user, $config, $auth, $cache;
|
||||
protected $db;
|
||||
protected $doctrine_db;
|
||||
protected $migration;
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
|
@@ -19,8 +19,7 @@ require_once __DIR__ . '/../../phpBB/includes/functions_posting.php';
|
||||
|
||||
abstract class phpbb_notification_submit_post_base extends phpbb_database_test_case
|
||||
{
|
||||
// protected $notifications, $db, $container, $user, $config, $auth, $cache;
|
||||
|
||||
protected $db;
|
||||
protected $item_type = '';
|
||||
|
||||
protected $poll_data = array();
|
||||
|
Reference in New Issue
Block a user