2
0
forked from Wavyzz/dolibarr
Commit Graph

5 Commits

Author SHA1 Message Date
Alexandre Janniaux
df0adc391d 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.
2023-05-08 16:29:31 +02:00
Laurent Destailleur
ed0e96f2b6 Fix phpunit 2022-12-26 17:05:14 +01:00
Laurent Destailleur
527cd1f922 Fix phpunit 2022-12-26 15:25:36 +01:00
Laurent Destailleur
facb003627 Fix phpunit 2022-12-24 15:37:07 +01:00
Laurent Destailleur
685a7dbd59 Clean code. Add a phpunit test to avoid duplicate jquery. 2022-12-24 15:06:32 +01:00