2
0
forked from Wavyzz/dolibarr

Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into

develop
This commit is contained in:
Laurent Destailleur
2023-05-17 12:27:46 +02:00
parent 4354cad74b
commit 5dae5b57a0
87 changed files with 107 additions and 21 deletions

View File

@@ -57,6 +57,8 @@ class MyObjectTest extends PHPUnit\Framework\TestCase
/**
* Constructor
* We save global variables into local variables
*
* @param string $name Name
*/
public function __construct($name = '')
{

View File

@@ -56,6 +56,7 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return AccountingAccountTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ActionCommTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class AdherentTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return AdherentTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class AdminLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return AdminLibTest
*/
public function __construct($name = '')

View File

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

View File

@@ -57,6 +57,7 @@ class BOMTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BOMTest
*/
public function __construct($name = '')

View File

@@ -59,6 +59,7 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BankAccountTest
*/
public function __construct($name = '')

View File

@@ -59,6 +59,7 @@ class BarcodeTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BarcodeTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class BonPrelevementTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BankAccountTest
*/
public function __construct($name = '')

View File

@@ -86,6 +86,7 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BuildDocTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CMailFile
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class CategorieTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CategorieTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class ChargeSocialesTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ChargeSocialesTest
*/
public function __construct($name = '')

View File

@@ -88,6 +88,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SecurityTest
*/
public function __construct($name = '')

View File

@@ -88,6 +88,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SecurityTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CommandeFournisseurTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CommandeTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class CommonInvoiceTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CommonObjectTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class CommonObjectTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CommonObjectTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CompanyBankAccountTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class CompanyLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return AdminLibTest
*/
public function __construct($name = '')

View File

@@ -63,6 +63,7 @@ class ContactTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ContactTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class ContratTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ContratTest
*/
public function __construct($name = '')

View File

@@ -79,6 +79,7 @@ class CoreTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CoreTest
*/
public function __construct($name = '')

View File

@@ -60,6 +60,7 @@ class DateLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return DateLibTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return DateLibTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class DiscountTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return DiscountTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class DoliDBTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return DiscountTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class EmailCollectorTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ExpenseReportTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return EntrepotTest
*/
public function __construct($name = '')

View File

@@ -55,6 +55,7 @@ class EvalMathTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return InventoryTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class ExpenseReportTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ExpenseReportTest
*/
public function __construct($name = '')

View File

@@ -81,6 +81,7 @@ class ExportTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ExportTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class FactureFournisseurTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureFournisseurTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class FactureRecTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class FactureTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureTest
*/
public function __construct($name = '')

View File

@@ -55,11 +55,12 @@ class FactureTestRounding extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureTest
*/
public function __construct()
public function __construct($name = '')
{
parent::__construct();
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;

View File

@@ -56,6 +56,7 @@ class FichinterTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ContratTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FilesLibTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class FormAdminTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class FormTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FactureTest
*/
public function __construct($name = '')

View File

@@ -80,6 +80,7 @@ class Functions2LibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CoreTest
*/
public function __construct($name = '')

View File

@@ -87,6 +87,7 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CoreTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class GetUrlLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return FilesLibTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class HolidayTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return HolidayTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class ImagesLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ImagesLibTest
*/
public function __construct($name = '')

View File

@@ -79,6 +79,7 @@ class ImportTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ImportTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return InventoryTest
*/
public function __construct($name = '')

View File

@@ -79,6 +79,7 @@ class JsonLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return CoreTest
*/
public function __construct($name = '')

View File

@@ -59,6 +59,7 @@ class KnowledgeRecordTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return KnowledgeRecordTest
*/
public function __construct($name = '')

View File

@@ -88,6 +88,7 @@ class LangTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SecurityTest
*/
public function __construct($name = '')

View File

@@ -88,6 +88,7 @@ class LesscTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SecurityTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class LoanTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return LoanTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class MarginsLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return DateLibTest
*/
public function __construct($name = '')

View File

@@ -55,6 +55,7 @@ class ModulesTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return BuildDocTest
*/
public function __construct($name = '')

View File

@@ -58,6 +58,7 @@ class MouvementStockTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ContratTest
*/
public function __construct($name = '')

View File

@@ -55,6 +55,7 @@ class NumberingModulesTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return NumberingModulesTest
*/
public function __construct($name = '')

View File

@@ -57,7 +57,8 @@ class ODFTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return BOMTest
* @param string $name Name
* @return ODFTest
*/
public function __construct($name = '')
{

View File

@@ -57,7 +57,8 @@ class PaypalTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return ProductTest
* @param string $name Name
* @return PaypalTest
*/
public function __construct($name = '')
{

View File

@@ -59,6 +59,7 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return PdfDocTest
*/
public function __construct($name = '')

View File

@@ -58,7 +58,8 @@ class PgsqlTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return ContactTest
* @param string $name Name
* @return PgsqlTest
*/
public function __construct($name = '')
{

View File

@@ -62,7 +62,8 @@ class PricesTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return CoreTest
* @param string $name Name
* @return PriceTest
*/
public function __construct($name = '')
{

View File

@@ -56,6 +56,7 @@ class ProductTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ProductTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class ProjectTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ProjectTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class PropalTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return PropalTest
*/
public function __construct($name = '')

View File

@@ -87,7 +87,8 @@ class RepositoryTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return SecurityTest
* @param string $name Name
* @return RepositoryTest
*/
public function __construct($name = '')
{

View File

@@ -59,7 +59,8 @@ class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables.
*
* @return DateLibTest
* @param string $name Name
* @return RestAPIDocumentTest
*/
public function __construct($name = '')
{

View File

@@ -61,7 +61,8 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return RestAPIUserTest
*/
public function __construct($name = '')
{

View File

@@ -88,6 +88,7 @@ class ScriptsTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ScriptsTest
*/
public function __construct($name = '')

View File

@@ -84,6 +84,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SecurityTest
*/
public function __construct($name = '')

View File

@@ -57,6 +57,7 @@ class SocieteTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return SocieteTest
*/
public function __construct($name = '')

View File

@@ -57,7 +57,8 @@ class StripeTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return ProductTest
* @param string $name Name
* @return StripeTest
*/
public function __construct($name = '')
{

View File

@@ -59,7 +59,8 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return PropalTest
* @param string $name Name
* @return SupplierProposalTest
*/
public function __construct($name = '')
{

View File

@@ -58,6 +58,7 @@ class TargetTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return TargetTest
*/
public function __construct($name = '')

View File

@@ -57,7 +57,8 @@ class TicketTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return ContratTest
* @param string $name Name
* @return TicketTest
*/
public function __construct($name = '')
{

View File

@@ -56,6 +56,7 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return UserGroupTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class UserTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return UserTest
*/
public function __construct($name = '')

View File

@@ -56,6 +56,7 @@ class UtilsTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return UserTest
*/
public function __construct($name = '')

View File

@@ -68,7 +68,8 @@ class WebservicesInvoicesTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesInvoicesTest
*/
public function __construct($name = '')
{

View File

@@ -60,7 +60,8 @@ class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesOrdersTest
*/
public function __construct($name = '')
{

View File

@@ -60,7 +60,8 @@ class WebservicesOtherTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesOtherTest
*/
public function __construct($name = '')
{

View File

@@ -66,7 +66,8 @@ class WebservicesProductsTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesProductsTest
*/
public function __construct($name = '')
{

View File

@@ -66,7 +66,8 @@ class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesThirdpartyTest
*/
public function __construct($name = '')
{

View File

@@ -60,7 +60,8 @@ class WebservicesUserTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return DateLibTest
* @param string $name Name
* @return WebservicesUserTest
*/
public function __construct($name = '')
{

View File

@@ -89,7 +89,8 @@ class WebsiteTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return SecurityTest
* @param string $name Name
* @return WebsiteTest
*/
public function __construct($name = '')
{

View File

@@ -56,7 +56,8 @@ class XCalLibTest extends PHPUnit\Framework\TestCase
* Constructor
* We save global variables into local variables
*
* @return FilesLibTest
* @param string $name Name
* @return XCalLibTest
*/
public function __construct($name = '')
{