FIX test/phpunit: add $name to __construct()

Fix the following errors when running recent phpunit:

    Message:  Too few arguments to function PHPUnit\Framework\TestCase::__construct(), 0 passed in
    dolibarr/test/phpunit/DateLibTzFranceTest.php on line 63 and exactly
    1 expected Location: phar:///usr/share/webapps/bin/phpunit.phar/phpunit/Framework/TestCase.php:265

Indeed, the old constructor had an optional $name='' parameter but the
new constructor reads like this:

    public function __construct(string $name)

and the parameter is now mandatory.
This commit is contained in:
Alexandre Janniaux 2023-05-07 14:31:35 +02:00
parent 5a3d271829
commit df0adc391d
85 changed files with 253 additions and 170 deletions

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2007-2017 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
* Copyright (C) ---Put here your own copyright and developer email---
*
* This program is free software: you can redistribute it and/or modify
@ -57,9 +58,9 @@ class MyObjectTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf, $user, $langs, $db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase
*
* @return AccountingAccountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
*
* @return ActionCommTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2013 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class AdherentTest extends PHPUnit\Framework\TestCase
*
* @return AdherentTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class AdminLibTest extends PHPUnit\Framework\TestCase
*
* @return AdminLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2007-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
* Copyright (C) ---Put here your own copyright and developer email---
*
* This program is free software: you can redistribute it and/or modify
@ -58,9 +59,9 @@ class BOMTest extends PHPUnit\Framework\TestCase
*
* @return BOMTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
*
* @return BankAccountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class BarcodeTest extends PHPUnit\Framework\TestCase
*
* @return BarcodeTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class BonPrelevementTest extends PHPUnit\Framework\TestCase
*
* @return BankAccountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -87,9 +88,9 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
*
* @return BuildDocTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
*
* @return CMailFile
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class CategorieTest extends PHPUnit\Framework\TestCase
*
* @return CategorieTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class ChargeSocialesTest extends PHPUnit\Framework\TestCase
*
* @return ChargeSocialesTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -89,9 +90,9 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -89,9 +90,9 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
*
* @return CommandeFournisseurTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class CommandeTest extends PHPUnit\Framework\TestCase
*
* @return CommandeTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class CommonInvoiceTest extends PHPUnit\Framework\TestCase
*
* @return CommonObjectTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class CommonObjectTest extends PHPUnit\Framework\TestCase
*
* @return CommonObjectTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
*
* @return CompanyBankAccountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class CompanyLibTest extends PHPUnit\Framework\TestCase
*
* @return AdminLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -64,9 +65,9 @@ class ContactTest extends PHPUnit\Framework\TestCase
*
* @return ContactTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class ContratTest extends PHPUnit\Framework\TestCase
*
* @return ContratTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -80,9 +81,9 @@ class CoreTest extends PHPUnit\Framework\TestCase
*
* @return CoreTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -61,9 +62,9 @@ class DateLibTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class DiscountTest extends PHPUnit\Framework\TestCase
*
* @return DiscountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class DoliDBTest extends PHPUnit\Framework\TestCase
*
* @return DiscountTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class EmailCollectorTest extends PHPUnit\Framework\TestCase
*
* @return ExpenseReportTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
*
* @return EntrepotTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -57,9 +57,9 @@ class EvalMathTest extends PHPUnit\Framework\TestCase
*
* @return InventoryTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class ExpenseReportTest extends PHPUnit\Framework\TestCase
*
* @return ExpenseReportTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -82,9 +83,9 @@ class ExportTest extends PHPUnit\Framework\TestCase
*
* @return ExportTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2017 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class FactureFournisseurTest extends PHPUnit\Framework\TestCase
*
* @return FactureFournisseurTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class FactureRecTest extends PHPUnit\Framework\TestCase
*
* @return FactureTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class FactureTest extends PHPUnit\Framework\TestCase
*
* @return FactureTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class FichinterTest extends PHPUnit\Framework\TestCase
*
* @return ContratTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
*
* @return FilesLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class FormAdminTest extends PHPUnit\Framework\TestCase
*
* @return FactureTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class FormTest extends PHPUnit\Framework\TestCase
*
* @return FactureTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -81,9 +82,9 @@ class Functions2LibTest extends PHPUnit\Framework\TestCase
*
* @return CoreTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -88,9 +89,9 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
*
* @return CoreTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db,$mysoc;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class GetUrlLibTest extends PHPUnit\Framework\TestCase
*
* @return FilesLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class HolidayTest extends PHPUnit\Framework\TestCase
*
* @return HolidayTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class ImagesLibTest extends PHPUnit\Framework\TestCase
*
* @return ImagesLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -80,9 +81,9 @@ class ImportTest extends PHPUnit\Framework\TestCase
*
* @return ImportTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class InventoryTest extends PHPUnit\Framework\TestCase
*
* @return InventoryTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -80,9 +81,9 @@ class JsonLibTest extends PHPUnit\Framework\TestCase
*
* @return CoreTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2007-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2021 SuperAdmin
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class KnowledgeRecordTest extends PHPUnit\Framework\TestCase
*
* @return KnowledgeRecordTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf, $user, $langs, $db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -89,9 +90,9 @@ class LangTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -89,9 +90,9 @@ class LesscTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2018 Maxime Kohlhaas <support@atm-consulting.fr>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class LoanTest extends PHPUnit\Framework\TestCase
*
* @return LoanTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class MarginsLibTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -56,9 +57,9 @@ class ModulesTest extends PHPUnit\Framework\TestCase
*
* @return BuildDocTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class MouvementStockTest extends PHPUnit\Framework\TestCase
*
* @return ContratTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2012-2023 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -56,9 +57,9 @@ class NumberingModulesTest extends PHPUnit\Framework\TestCase
*
* @return NumberingModulesTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -59,9 +59,9 @@ class ODFTest extends PHPUnit\Framework\TestCase
*
* @return BOMTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class PaypalTest extends PHPUnit\Framework\TestCase
*
* @return ProductTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
*
* @return PdfDocTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class PgsqlTest extends PHPUnit\Framework\TestCase
*
* @return ContactTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -63,9 +64,9 @@ class PricesTest extends PHPUnit\Framework\TestCase
*
* @return CoreTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class ProductTest extends PHPUnit\Framework\TestCase
*
* @return ProductTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class ProjectTest extends PHPUnit\Framework\TestCase
*
* @return ProjectTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class PropalTest extends PHPUnit\Framework\TestCase
*
* @return PropalTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2022 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -88,9 +89,9 @@ class RepositoryTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -62,9 +63,9 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -89,9 +90,9 @@ class ScriptsTest extends PHPUnit\Framework\TestCase
*
* @return ScriptsTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -85,9 +86,9 @@ class SecurityTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class SocieteTest extends PHPUnit\Framework\TestCase
*
* @return SocieteTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class StripeTest extends PHPUnit\Framework\TestCase
*
* @return ProductTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -60,9 +61,9 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
*
* @return PropalTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2007-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2022 Alice Adminson <aadminson@example.com>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -59,9 +60,9 @@ class TargetTest extends PHPUnit\Framework\TestCase
*
* @return TargetTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf, $user, $langs, $db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -58,9 +59,9 @@ class TicketTest extends PHPUnit\Framework\TestCase
*
* @return ContratTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
*
* @return UserGroupTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class UserTest extends PHPUnit\Framework\TestCase
*
* @return UserTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class UtilsTest extends PHPUnit\Framework\TestCase
*
* @return UserTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -69,9 +70,9 @@ class WebservicesInvoicesTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -61,9 +62,9 @@ class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -61,9 +62,9 @@ class WebservicesOtherTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -67,9 +68,9 @@ class WebservicesProductsTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -67,9 +68,9 @@ class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -61,9 +62,9 @@ class WebservicesUserTest extends PHPUnit\Framework\TestCase
*
* @return DateLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -90,9 +91,9 @@ class WebsiteTest extends PHPUnit\Framework\TestCase
*
* @return SecurityTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.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
@ -57,9 +58,9 @@ class XCalLibTest extends PHPUnit\Framework\TestCase
*
* @return FilesLibTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;