mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/16549] Avoid deprecated properties/methods in newer PHPUnit versions
PHPBB3-16549
This commit is contained in:
@@ -30,7 +30,9 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
|
||||
{
|
||||
parent::__construct($name, $data, $dataName);
|
||||
|
||||
$this->backupStaticAttributesBlacklist['phpbb_functional_feed_test'] = array('init_values');
|
||||
$this->excludeBackupStaticAttributes([
|
||||
'phpbb_functional_feed_test' => ['init_values'],
|
||||
]);
|
||||
|
||||
$this->purge_cache();
|
||||
}
|
||||
|
@@ -22,9 +22,9 @@ class phpbb_functional_ucp_allow_pm_test extends phpbb_functional_test_case
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->backupStaticAttributesBlacklist += array(
|
||||
'phpbb_functional_ucp_allow_pm_test' => array('data'),
|
||||
);
|
||||
$this->excludeBackupStaticAttributes([
|
||||
'phpbb_functional_ucp_allow_pm_test' => ['data'],
|
||||
]);
|
||||
}
|
||||
|
||||
// user A sends a PM to user B where B accepts PM
|
||||
|
Reference in New Issue
Block a user