Laurent Destailleur
de7d3c2bf8
Fix with php-cs-fixer
2023-12-04 11:22:28 +01:00
Laurent Destailleur
955ecd1c16
Fix params in phpunit
2023-11-28 15:35:31 +01:00
Laurent Destailleur
1d589fd74e
Fix warnings
2023-11-27 13:26:44 +01:00
Laurent Destailleur
5dae5b57a0
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-05-17 12:27:46 +02:00
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
Alexandre Janniaux
b6235c29d0
phpunit: use $db instead of $this->savdb
...
The global variables are stored in $this, and in particular $db is used
through this mean. But $this->savdb is supposed to be the immutable
global state that is stored at the test class instantiation and restored
at the beginning of each test.
For $this->savdb, I don't think any consequences are created by this,
since the object is saved by each test anyway and the $db object is
mostly a query object within a transaction, but future change could use
this to inject a different stateful $db object to trace some behaviour
in the test for instance, so make sure the correct one is used.
2023-04-26 16:44:07 +02:00
Laurent Destailleur
6c17c2f044
Test travis php7.1
2022-09-21 17:55:04 +02:00
Frédéric France
8e66b7207e
replace ! empty by !empty
2022-08-31 22:14:20 +02:00
Laurent Destailleur
4da5aeedf4
Fix bad test
2021-05-12 08:42:33 +02:00
daraelmin
f25997b292
phpunit
2021-05-01 21:42:13 +02:00
Frédéric FRANCE
b1a1cd4be6
code syntax
2021-01-14 15:09:08 +01:00
Laurent Destailleur
f8b179a1be
Merge pull request #15351 from frederic34/patch-13
...
separate ref and rowid in members
2020-12-27 15:18:55 +01:00
Laurent Destailleur
eed14bd9af
Fix warnings
2020-12-17 17:04:42 +01:00
Frédéric FRANCE
7d6e70c4c0
add log
2020-11-11 13:14:39 +01:00
Laurent Destailleur
4d6a45d491
Major doxygen fix
2020-05-03 22:48:35 +02:00
Laurent Destailleur
31ba277da7
Fix phpcs
2020-04-26 23:18:09 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
658c10a305
Fix phpunit
2019-09-02 03:40:22 +02:00
Laurent Destailleur
ac9282667d
Try new phpunit syntax
2019-07-05 21:09:21 +02:00
Frédéric FRANCE
42a1387218
wip
2019-02-25 00:56:48 +01:00
Frédéric FRANCE
24b073771e
wip
2019-01-27 13:07:22 +01:00
Alexandre SPANGARO
52efbfaba8
Update travis test
2018-11-20 06:53:49 +01:00
Laurent Destailleur
a7dfc88b59
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
...
Conflicts:
test/phpunit/CoreTest.php
2018-09-02 15:21:21 +02:00
Laurent Destailleur
53caac13a9
Test phpunit
2018-09-02 13:57:51 +02:00
Laurent Destailleur
7cd24c389d
Fix firstname/lastname
2018-08-13 01:21:23 +02:00
Laurent Destailleur
8aa41c09c0
Fix phpunit
2018-04-11 19:31:28 +02:00
Regis Houssin
92ff974c5b
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop_ldap
2017-09-25 06:47:34 +02:00
Laurent Destailleur
7a6180858e
Fix phpunit
2017-09-24 21:12:50 +02:00
Regis Houssin
1f88e624c2
Fix: add ldap import/export script
2017-09-17 10:42:00 +02:00
Laurent Destailleur
605dbd61f2
Fix phpunit
2017-06-10 00:21:04 +02:00
Laurent Destailleur
dd5976066a
Fix travis
2017-05-22 02:04:43 +02:00
Laurent Destailleur
3e381aa5a2
Fix phpunit
2017-05-21 21:04:20 +02:00
Raphaël Doursenaud
bd7d487c79
[Qual] Do not test deprecated update_note_public()
2015-09-24 20:52:43 +02:00
jfefe
0d14cb8709
Modify thirdparty delete() method to pass user object as an argument.
2015-05-03 18:44:42 +02:00
Laurent Destailleur
22921ad26b
Fix phpunit
2015-04-19 04:43:28 +02:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Laurent Destailleur
97eec37f1c
Uniformize code: property "nom" for thirdparty is aliased into "name"
...
everywhere.
2014-10-04 17:20:17 +02:00
Laurent Destailleur
63100c9c06
Properties "civilite_id" were renamed into "civility_id".
2014-05-05 00:23:09 +02:00
Raphaël Doursenaud
f8f502d013
Removed closing php tag
...
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Laurent Destailleur
19fb5e5085
Try to fix phpunit error with new version.
2014-05-01 19:57:53 +02:00
Laurent Destailleur
d97c45a9b8
Add version of phpunit into travis script.
...
Fix: strict mode.
2014-05-01 19:17:45 +02:00
Laurent Destailleur
2bc650bf61
Qual: Remove tons of codesniffer errors and warnings.
2013-07-07 13:14:32 +02:00
Laurent Destailleur
cb68924f34
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
scripts/invoices/email_unpaid_invoices_to_customers.php
scripts/invoices/email_unpaid_invoices_to_representatives.php
2013-07-02 01:10:06 +02:00
Laurent Destailleur
d09e8a522d
Fix: PHPunit match previous fix of civility label empty
2013-07-02 01:05:10 +02:00
Raphaël Doursenaud
686f5add82
Normalized line endings to LF
2013-06-05 16:12:07 +02:00
Laurent Destailleur
67758c963b
Fix: PHPUnit tests
2013-06-04 22:52:58 +02:00
Grand Philippe
e1baf806b9
change birth instead of naiss
2013-03-13 22:17:03 +01:00
Grand Philippe
44dee53350
english language standardization
2013-02-25 18:21:12 +01:00
Grand Philippe
529b8ae38e
english standardization
2013-02-23 10:43:16 +01:00
Laurent Destailleur
d11cee399a
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
COPYRIGHT
htdocs/core/tpl/freeproductline_create.tpl.php
htdocs/core/tpl/predefinedproductline_create.tpl.php
htdocs/install/mysql/tables/llx_c_availability.sql
2013-01-16 15:45:17 +01:00