Fix phpunit for last versions of phpunit

This commit is contained in:
Laurent Destailleur 2019-08-31 00:47:12 +02:00
parent 58643e5e96
commit 8938573f68
67 changed files with 67 additions and 67 deletions

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ActionCommTest extends PHPUnit_Framework_TestCase class ActionCommTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class AdherentTest extends PHPUnit_Framework_TestCase class AdherentTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class AdminLibTest extends PHPUnit_Framework_TestCase class AdminLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -75,7 +75,7 @@ class AllTests
public static function suite() public static function suite()
{ {
$suite = new PHPUnit_Framework_TestSuite('PHPUnit Framework'); $suite = new PHPUnit\Framework\TestSuite('PHPUnit Framework');
//require_once dirname(__FILE__).'/CoreTest.php'; //require_once dirname(__FILE__).'/CoreTest.php';
//$suite->addTestSuite('CoreTest'); //$suite->addTestSuite('CoreTest');

View File

@ -28,7 +28,7 @@ namespace test\unit;
* Class BillOfMaterialsTest * Class BillOfMaterialsTest
* @package Testbillofmaterials * @package Testbillofmaterials
*/ */
class BOMTest extends \PHPUnit_Framework_TestCase class BOMTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* Global test setup * Global test setup

View File

@ -46,7 +46,7 @@ $langs->load("main");
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class BankAccountTest extends PHPUnit_Framework_TestCase class BankAccountTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ $langs->load("main");
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class BonPrelevementTest extends PHPUnit_Framework_TestCase class BonPrelevementTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -74,7 +74,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class BuildDocTest extends PHPUnit_Framework_TestCase class BuildDocTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CMailFileTest extends PHPUnit_Framework_TestCase class CMailFileTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CategorieTest extends PHPUnit_Framework_TestCase class CategorieTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ChargeSocialesTest extends PHPUnit_Framework_TestCase class ChargeSocialesTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -57,7 +57,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CodingPhpTest extends PHPUnit_Framework_TestCase class CodingPhpTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CommandeFournisseurTest extends PHPUnit_Framework_TestCase class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CommandeTest extends PHPUnit_Framework_TestCase class CommandeTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CommonObjectTest extends PHPUnit_Framework_TestCase class CommonObjectTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CompanyBankAccountTest extends PHPUnit_Framework_TestCase class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CompanyLibTest extends PHPUnit_Framework_TestCase class CompanyLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -53,7 +53,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ContactTest extends PHPUnit_Framework_TestCase class ContactTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ContratTest extends PHPUnit_Framework_TestCase class ContratTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ if (! defined("NOLOGIN")) define("NOLOGIN", '1'); // If this page i
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class CoreTest extends PHPUnit_Framework_TestCase class CoreTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class DateLibTest extends PHPUnit_Framework_TestCase class DateLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class DateLibTzFranceTest extends PHPUnit_Framework_TestCase class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class DiscountTest extends PHPUnit_Framework_TestCase class DiscountTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class EntrepotTest extends PHPUnit_Framework_TestCase class EntrepotTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ExpenseReportTest extends PHPUnit_Framework_TestCase class ExpenseReportTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -49,7 +49,7 @@ if (! defined("NOLOGIN")) define("NOLOGIN", '1'); // If this page i
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ExportTest extends PHPUnit_Framework_TestCase class ExportTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FactureFournisseurTest extends PHPUnit_Framework_TestCase class FactureFournisseurTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FactureRecTest extends PHPUnit_Framework_TestCase class FactureRecTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FactureTest extends PHPUnit_Framework_TestCase class FactureTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FactureTestRounding extends PHPUnit_Framework_TestCase class FactureTestRounding extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FichinterTest extends PHPUnit_Framework_TestCase class FichinterTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FilesLibTest extends PHPUnit_Framework_TestCase class FilesLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class FormAdminTest extends PHPUnit_Framework_TestCase class FormAdminTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ if (! defined("NOLOGIN")) define("NOLOGIN", '1'); // If this page i
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class Functions2LibTest extends PHPUnit_Framework_TestCase class Functions2LibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ImagesLibTest extends PHPUnit_Framework_TestCase class ImagesLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ if (! defined("NOLOGIN")) define("NOLOGIN", '1'); // If this page i
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ImportTest extends PHPUnit_Framework_TestCase class ImportTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ if (! defined("NOLOGIN")) define("NOLOGIN", '1'); // If this page i
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class JsonLibTest extends PHPUnit_Framework_TestCase class JsonLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -57,7 +57,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class LangTest extends PHPUnit_Framework_TestCase class LangTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class LoanTest extends PHPUnit_Framework_TestCase class LoanTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class MarginsLibTest extends PHPUnit_Framework_TestCase class MarginsLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ModulesTest extends PHPUnit_Framework_TestCase class ModulesTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class MouvementStockTest extends PHPUnit_Framework_TestCase class MouvementStockTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class NumberingModulesTest extends PHPUnit_Framework_TestCase class NumberingModulesTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class PaypalTest extends PHPUnit_Framework_TestCase class PaypalTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class PdfDocTest extends PHPUnit_Framework_TestCase class PdfDocTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class PgsqlTest extends PHPUnit_Framework_TestCase class PgsqlTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -52,7 +52,7 @@ if (! empty($conf->global->MAIN_ROUNDING_RULE_TOT))
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class PricesTest extends PHPUnit_Framework_TestCase class PricesTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ProductTest extends PHPUnit_Framework_TestCase class ProductTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -46,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ProjectTest extends PHPUnit_Framework_TestCase class ProjectTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class PropalTest extends PHPUnit_Framework_TestCase class PropalTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_UMASK = '0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class RestAPIDocumentTest extends PHPUnit_Framework_TestCase class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -47,7 +47,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class RestAPIUserTest extends PHPUnit_Framework_TestCase class RestAPIUserTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -57,7 +57,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class ScriptsTest extends PHPUnit_Framework_TestCase class ScriptsTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -57,7 +57,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class SecurityTest extends PHPUnit_Framework_TestCase class SecurityTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class SocieteTest extends PHPUnit_Framework_TestCase class SocieteTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class SupplierProposalTest extends PHPUnit_Framework_TestCase class SupplierProposalTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -45,7 +45,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class TicketTest extends PHPUnit_Framework_TestCase class TicketTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class UserGroupTest extends PHPUnit_Framework_TestCase class UserGroupTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class UserTest extends PHPUnit_Framework_TestCase class UserTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class UtilsTest extends PHPUnit_Framework_TestCase class UtilsTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -49,7 +49,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase class WebservicesInvoicesTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesOrdersTest extends PHPUnit_Framework_TestCase class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesOtherTest extends PHPUnit_Framework_TestCase class WebservicesOtherTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -55,7 +55,7 @@ if (empty($conf->service->enabled))
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesProductsTest extends PHPUnit_Framework_TestCase class WebservicesProductsTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class WebservicesUserTest extends PHPUnit_Framework_TestCase class WebservicesUserTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;

View File

@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled * @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/ */
class XCalLibTest extends PHPUnit_Framework_TestCase class XCalLibTest extends PHPUnit\Framework\TestCase
{ {
protected $savconf; protected $savconf;
protected $savuser; protected $savuser;