mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Test/adminlib/remove deprecation (#28302)
* Fix: Deprecation message for backupGlobalsBlackList # Fix: Deprecation message for backupGlobalsBlackList Fix the deprecation messages during the tests: 1) AdminLibTest::testVersionCompare PHPUnit\Framework\TestCase::$backupGlobalsBlacklist is deprecated and will be removed in PHPUnit 10. Please use PHPUnit\Framework\TestCase::$backupGlobalsExcludesList instead. * Fix: Remove backupGlobalsBlacklist/backupGlobalsExcludesList # Fix: Remove backupGlobalsBlacklist/backupGlobalsExcludesList The backupGlobalsBlacklist/backupGlobalsExcludesList does not seem required and it is not documented why it is required, so remove this to simplify the code (see https://github.com/Dolibarr/dolibarr/pull/28292#discussion_r1495116364 ).
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -48,9 +49,6 @@ $conf->global->MAIN_DISABLE_ALL_MAILS = 1;
|
||||
*/
|
||||
class AdminLibTest extends CommonClassTest
|
||||
{
|
||||
protected $backupGlobalsBlacklist = array('conf', 'user', 'langs', 'db');
|
||||
|
||||
|
||||
/**
|
||||
* testVersionCompare
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user