Laurent Destailleur
c1b74f9338
Fix phpunit regression
2023-09-29 17:04:11 +02:00
Laurent Destailleur
72e17fe60e
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-09-29 16:53:54 +02:00
Laurent Destailleur
ad9e11542c
Fix phpunit warning
2023-09-10 15:16:46 +02:00
Laurent Destailleur
5124f8f84d
Debug v18
2023-05-25 15:14:52 +02: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
Laurent Destailleur
712dd1689b
Merge pull request #24596 from alexandre-janniaux/phpunit-changes/1
...
phpunit: use $db instead of $this->savdb
2023-04-26 22:02:25 +02:00
Laurent Destailleur
86456e299c
NEW add option keepspace into dol_string_nospecialchar()
2023-04-26 18:25:56 +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
b55271dedb
Fix warning
2023-04-15 03:27:35 +02:00
Laurent Destailleur
3b8406a83e
NEW dolExplodeIntoArray can accept regex
2023-04-07 16:21:51 +02:00
Laurent Destailleur
ec7627572f
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-03-27 18:32:25 +02:00
Laurent Destailleur
a0098c39ab
Merge pull request #24162 from atm-lena/17.0_FIX_textishtmlfunction
...
FIX dol_textishtml() function
2023-03-27 08:29:33 +02:00
atm-lena
0ddf48869a
Add unit test fol_textishtml()
2023-03-21 14:03:55 +01:00
Laurent Destailleur
ec45cb23ac
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-03-20 15:53:06 +01:00
Laurent Destailleur
1151a8e65e
Fix more robust phpunit test
2023-03-20 12:05:44 +01:00
Laurent Destailleur
51bf3f0686
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-03-19 19:14:44 +01:00
Laurent Destailleur
9a192e443e
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2023-03-19 19:05:47 +01:00
Laurent Destailleur
8d2a3a863d
Add phpunit for get_localtax_by_third
2023-03-18 10:48:09 +01:00
Laurent Destailleur
dc1ba8f447
Fix phpunit
2023-03-13 13:19:24 +01:00
Laurent Destailleur
04c6cb22a1
Fix universal filter for !=
2023-03-13 10:22:40 +01:00
Laurent Destailleur
2ef0f08c97
PHPunit
2023-03-13 10:20:03 +01:00
Laurent Destailleur
ed5c890769
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-02-25 20:12:48 +01:00
Laurent Destailleur
cbb6ca071a
Fix #yogosha15157
2023-02-25 19:51:05 +01:00
Laurent Destailleur
65a2093cd1
Fix regression
2022-12-31 16:50:30 +01:00
Laurent Destailleur
8774f4f092
Fix warning qodana
2022-12-31 13:44:11 +01:00
Laurent Destailleur
43e153715f
Remove non used code for module webhook
2022-11-04 20:49:25 +01:00
Laurent Destailleur
6c17c2f044
Test travis php7.1
2022-09-21 17:55:04 +02:00
Laurent Destailleur
8f1ea59bc6
Fix for travis and PHP 8.1 with PGSQL
2022-09-20 21:13:51 +02:00
Laurent Destailleur
245580bfa5
FIX Several pb in invoice remind (html detection, no event, transaction)
2022-07-08 14:11:13 +02:00
Laurent Destailleur
21e5189e18
Add phpunit for num2Alpha
2022-05-31 18:17:43 +02:00
Laurent Destailleur
e609622f2b
Fix test on verifCond for value 0
2021-11-18 13:17:48 +01:00
Laurent Destailleur
f5a7275077
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
...
Conflicts:
htdocs/takepos/index.php
2021-11-11 18:34:04 +01:00
Laurent Destailleur
e22bd5c048
Fix better format address for jp in romaji
2021-09-02 10:39:56 +02:00
Laurent Destailleur
526235d020
Fix substitution of mix html/nohtml
...
Fix send email reminder for past due date of invoices
More PHPUnit test
2021-05-04 13:33:18 +02:00
Laurent Destailleur
5f8b52ffc9
Code comment
2021-03-03 12:05:43 +01:00
Frédéric FRANCE
398048da04
fix tests
2021-02-21 16:10:35 +01:00
Frédéric FRANCE
9ef56b53f2
fix tests
2021-02-21 16:05:59 +01:00
Frédéric FRANCE
5ceb8163de
fix tests
2021-02-21 15:40:03 +01:00
Frédéric FRANCE
6e3a1a1d41
fix tests
2021-02-21 13:32:54 +01:00
Frédéric FRANCE
b1a1cd4be6
code syntax
2021-01-14 15:09:08 +01:00
Laurent Destailleur
7b93c34c0f
Fix phpunits
2020-12-29 03:48:11 +01:00
Laurent Destailleur
10bef6eb03
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/filefunc.inc.php
htdocs/opensurvey/class/opensurveysondage.class.php
htdocs/product/class/product.class.php
htdocs/supplier_proposal/card.php
2020-12-04 19:24:29 +01:00
Laurent Destailleur
49db52134b
Fix for negative numbers
2020-12-04 18:19:51 +01:00
Laurent Destailleur
7634212811
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/system/phpinfo.php
htdocs/commande/stats/index.php
htdocs/compta/facture/stats/index.php
2020-11-29 21:35:03 +01:00
Laurent Destailleur
d3a2aa664f
FIX #15572
2020-11-29 20:27:40 +01:00
Laurent Destailleur
574919de52
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.travis.yml
htdocs/accountancy/bookkeeping/balance.php
htdocs/adherents/class/subscription.class.php
htdocs/compta/bank/categ.php
htdocs/compta/facture/class/facture.class.php
htdocs/core/boxes/box_task.php
htdocs/core/class/commondocgenerator.class.php
htdocs/core/class/interfaces.class.php
htdocs/core/lib/project.lib.php
htdocs/core/modules/modCategorie.class.php
htdocs/expensereport/class/expensereport.class.php
htdocs/fichinter/class/fichinterrec.class.php
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/class/fournisseur.facture.class.php
htdocs/install/repair.php
htdocs/main.inc.php
htdocs/product/price.php
htdocs/projet/tasks/time.php
htdocs/reception/card.php
2020-11-27 15:45:12 +01:00
Laurent Destailleur
ac3c129735
Clean code
2020-11-27 14:24:15 +01:00
Laurent Destailleur
81566289cd
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/propal/class/propal.class.php
htdocs/commande/class/commande.class.php
2020-11-24 11:07:35 +01:00
Laurent Destailleur
53208e620e
Use of . as thousand separator. Can use it for decimal if not 3 digits.
2020-11-24 10:56:05 +01:00