Laurent Destailleur (aka Eldy)
b85bfc40f4
Fix phpunit
2025-05-06 11:59:08 +02:00
Laurent Destailleur (aka Eldy)
bd9bf8b5a8
FIX #CVE-2024-34051
2025-02-17 12:24:03 +01:00
Laurent Destailleur (aka Eldy)
9fc78cd1b6
Fix regression
2025-02-05 18:16:09 +01:00
tnegre
7e82f70c77
add case when HTML tags contain attributes
2025-01-09 11:05:45 +01:00
tnegre
61b03b0c05
Testing ODF : revert parameters order for assertEquals()
2025-01-06 09:44:04 +01:00
tnegre
112220da86
BUG: when there are two identical HTML tags in a substitution string, everything is taken between first opening tag and last closing tag. Write test to reproduce.
2025-01-06 09:44:04 +01:00
Andrés Maldonado
976686262d
FIX: SQL syntax error in DDLUpdateField
2024-03-21 02:36:40 +01:00
Laurent Destailleur
17ff0972ab
Fix use of invoke into computed fields
2024-03-03 19:35:37 +01:00
Laurent Destailleur
a04b714d28
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2023-12-30 13:10:42 +01:00
Laurent Destailleur
14cc6c0332
Fix phpunit
2023-12-30 13:09:41 +01:00
Laurent Destailleur
d2b3920684
Merge
2023-12-29 16:51:05 +01:00
Florian HENRY
8be0970a0c
review test
2023-12-13 11:47:25 +01:00
Florian HENRY
82c49e62d1
add unit test for image in email with src=../media/ or src=base64
2023-12-13 11:31:42 +01:00
Laurent Destailleur
0ed6a63fb0
FIX #CVE-2023-4197
2023-09-05 00:49:01 +02:00
Laurent Destailleur
45d323a6f8
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2023-08-27 16:02:57 +02:00
Laurent Destailleur
4302a6bc04
Fix empty on getDolGlobal
2023-08-27 15:55:44 +02:00
Laurent Destailleur
310ef11dac
FIX WAF
2023-08-13 15:45:45 +02:00
Laurent Destailleur
86864b4d53
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2023-07-06 22:22:26 +02:00
Laurent Destailleur
6cbd046fcf
Add maintenance tool
2023-07-02 21:00:43 +02:00
Laurent Destailleur
b6a061f795
Debug v18 - warnings and pgsql migration
2023-06-26 23:02:17 +02:00
Laurent Destailleur
6cb360449c
Try to fix pgsql migration
2023-06-26 19:31:31 +02:00
Laurent Destailleur
243f5681dd
Fix phpunit
2023-06-22 22:18:41 +02:00
Laurent Destailleur
42f963ad48
Fix phpunit
2023-06-22 22:12:55 +02:00
Laurent Destailleur
c07de0f300
Fix phpunit
2023-06-22 21:38:12 +02:00
Laurent Destailleur
833c798bf5
Test CI
2023-06-19 20:23:09 +02:00
Laurent Destailleur
74fa309b80
Fix CI
2023-06-19 20:07:46 +02:00
Laurent Destailleur
2a4cdad5cf
Fix phpunit
2023-06-19 20:05:54 +02:00
Laurent Destailleur
927768ea98
Fix phpunit
2023-06-19 19:34:57 +02:00
Laurent Destailleur
415ce5c8fc
Fix phpunit
2023-06-19 18:55:49 +02:00
Laurent Destailleur
1c582aeb5f
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-19 03:22:40 +02:00
Laurent Destailleur
7b84a6f49a
FIX #24991
2023-06-19 03:17:24 +02:00
Laurent Destailleur
80cf360fd9
Add pdf with js
2023-06-04 19:46:44 +02:00
Laurent Destailleur
8d7e53a98c
Clean code
2023-06-03 13:56:06 +02:00
Laurent Destailleur
bfda645b9a
Clean log files
2023-05-26 14:51:51 +02:00
Laurent Destailleur
f76405d01a
Remove test output verbosity
2023-05-25 17:55:11 +02:00
Laurent Destailleur
5124f8f84d
Debug v18
2023-05-25 15:14:52 +02:00
Laurent Destailleur
676d89d36a
Merge pull request #24621 from alexandre-janniaux/php-unit-assert-contains/1
...
ContactTest: assertStringContainsString instead of assertContains
2023-05-20 12:02:43 +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
Laurent Destailleur
9635fa35d8
Merge pull request #24706 from alexandre-janniaux/constructor-bump-phpunit/1
...
FIX test/phpunit: add $name to __construct()
2023-05-16 20:58:15 +02:00
Laurent Destailleur
6f9eb93f36
Fix php 8 warning
2023-05-12 20:22:00 +02:00
Laurent Destailleur
af2dddeb48
Fix php 8 warning
2023-05-12 19:28:44 +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
a46ed98c81
Merge pull request #24670 from alexandre-janniaux/test-fixups/1
...
FIX phpunit: fix tests erroring out on phpunit 10.0.7
2023-05-05 01:50:38 +02:00
Alexandre Janniaux
52710d0d5e
phpunit: ODFTest: fix errors on ODFTest
...
PHP Fatal error: Declaration of ODFTest::setUpBeforeClass() must be
compatible with PHPUnit\Framework\TestCase::setUpBeforeClass(): void
in dolibarr/test/phpunit/ODFTest.php on line 82
2023-05-03 09:05:15 +02:00
Alexandre Janniaux
06aaa974b5
EvalMathTest: fix class name
...
The test class was copied from InventoryTest and phpunit is now
complaining that it cannot find the class in the test.
1) Class EvalMathTest cannot be found in phpunit/EvalMathTest.php
(phpunit 10.0.7)
2023-05-03 09:05:15 +02:00
Alexandre Janniaux
cf8e03c069
Fix phpunit/FilesLibTest: remove syslog property
...
Commit cfff62c2fa removed $conf->syslog
usage, but this file was left of as-is.
Fix a warning on the test:
Files Lib
✔ Dol basename
✔ Dol count nb of line
✔ Dol is file dir
✔ Dol other
✔ Dol mime type
✔ Dol delete dir
✔ Dol copy move delete
✘ Dol compress un compress
┐
├ Error: Attempt to assign property "enabled" on null
│
│ /home/alexandre/workspace/dolibarr/test/phpunit/FilesLibTest.php:421
┴
✔ Dol check secure access document
✔ Dol dir move
2023-05-02 10:06:05 +02:00
Laurent Destailleur
c630253fda
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-05-02 05:28:32 +02:00
Laurent Destailleur
7b1f83c6c9
Clean sql file
2023-05-02 05:18:39 +02:00
Laurent Destailleur
cd9c7ca3d7
Fix warning
2023-05-01 12:43:28 +02:00
Laurent Destailleur
80fc8ab6ec
More complete test for escape pgsql
2023-04-27 22:33:22 +02:00