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
a18b5a31e5
Fix phpunit
2023-02-17 16:00:57 +01:00
Laurent Destailleur
b6dbdd6757
Work on php 8.1 compatibility and adodb removal
2022-10-10 14:23:02 +02:00
Laurent Destailleur
6c17c2f044
Test travis php7.1
2022-09-21 17:55:04 +02:00
Laurent Destailleur
1b58b5e21f
Add phpunit test
2022-07-03 12:29:09 +02:00
Laurent Destailleur
fc9760f730
Add test for MAIN_NON_WORKING_DAYS_INCLUDE_SATURDAY and
...
MAIN_NON_WORKING_DAYS_INCLUDE_SUNDAY
2021-06-25 14:04:44 +02:00
Laurent Destailleur
d4fc23678a
Add phpunit test for dolSqlDateFilter()
2021-06-20 17:12:18 +02:00
Laurent Destailleur
18e911a636
FIX dol_print_date for %a and %b with some Timezone
2021-04-28 20:44:22 +02:00
Laurent Destailleur
61df76dd9a
Fix pb in date format %a %b when using a negative timezone
...
Enhance date management and unit tests.
2021-04-19 12:48:08 +02:00
Laurent Destailleur
222012da37
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/bank/class/paymentvarious.class.php
htdocs/compta/bank/various_payment/card.php
htdocs/don/card.php
htdocs/langs/en_US/main.lang
htdocs/public/payment/newpayment.php
test/phpunit/DateLibTzFranceTest.php
2021-03-01 15:48:30 +01:00
Laurent Destailleur
490faec547
FIX Timezone problems
...
Conflicts:
htdocs/core/lib/date.lib.php
test/phpunit/DateLibTest.php
2021-02-28 22:50:21 +01:00
Laurent Destailleur
ae81ab0c7c
FIX Timezone problems
2021-02-28 22:44:11 +01:00
Frédéric FRANCE
b1a1cd4be6
code syntax
2021-01-14 15:09:08 +01:00
Laurent Destailleur
86ed4dfa2b
Debug hidden option MAIN_USE_EXPENSE_IK
2020-09-08 11:51:36 +02:00
Laurent Destailleur
4d6a45d491
Major doxygen fix
2020-05-03 22:48:35 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
73c3fa40bf
Update phpunit
2019-09-09 10:53:13 +02:00
Laurent Destailleur
3af4ad7fc3
Compatibility with phpunit v6
2019-07-05 21:28:27 +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
Laurent Destailleur
2c1e8d6535
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/balance.php
htdocs/expedition/class/expeditionbatch.class.php
htdocs/public/payment/newpayment.php
htdocs/stripe/config.php
2018-10-16 18:47:11 +02:00
Laurent Destailleur
88ff7241f5
FIX Quick hack to solve pb of bad definition of public holidays
2018-10-11 13:12:36 +02:00
Laurent Destailleur
3d3edb19d8
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.travis.yml
htdocs/langs/en_US/commercial.lang
2018-09-02 15:48:26 +02:00
Laurent Destailleur
02bedc49d3
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
...
Conflicts:
test/phpunit/PricesTest.php
test/phpunit/RestAPIUserTest.php
test/phpunit/WebservicesInvoicesTest.php
2018-09-02 14:15:17 +02:00
Laurent Destailleur
a69c3caf2c
Prepare compatibility with phpunit 6.1
2018-09-02 14:10:06 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Laurent Destailleur
f4cdb6b254
Fix month on 2 chars. Some setup return on 1 char only. More phpunit
...
assert.
2017-06-01 15:33:23 +02:00
Laurent Destailleur
5d5cfd498a
Add holiday date functions into PHPUnit
2015-11-28 19:54:16 +01:00
Laurent Destailleur
01541e4152
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/comm/action/card.php
htdocs/core/datepicker.php
2015-02-03 12:17:45 +01:00
Laurent Destailleur
20121c2fbe
Fix pb into date management.
...
Added phpunit to avoid this in future.
2015-02-03 11:25:51 +01:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Raphaël Doursenaud
c48c3a9d91
Qual: remove PHP closing tag (again)
...
These were reintroduced by careless merge
2014-05-26 13:51:25 +02:00
Laurent Destailleur
19fb5e5085
Try to fix phpunit error with new version.
2014-05-01 19:57:53 +02:00
Laurent Destailleur
7fb004903e
Qual: Start to clean old code.
2014-03-21 15:02:27 +01:00
Laurent Destailleur
fa098adc78
Fix: infinite loop in function num_public_holiday
2014-03-05 21:29:33 +01:00
Laurent Destailleur
774017672f
Fix: Number of day calculation. Add PHPUnit case.
2014-03-05 20:52:27 +01:00
Laurent Destailleur
c92d0fe966
Fix: phpunit
2013-11-19 23:06:25 +01:00
Laurent Destailleur
f169984c7c
Better test
2013-07-13 20:22:17 +02:00
Laurent Destailleur
c92aa1f6aa
New: dol_strintotime accept format YYYY-MM-DD HH:MM:SS
...
Fix: create member was missing field import_key
New: Uniformize code
2013-06-27 17:45:58 +02:00
Laurent Destailleur
7dce8d2306
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
build/debian/changelog
build/doxygen/dolibarr-doxygen.doxyfile
build/exe/doliwamp/doliwamp.iss
build/launchpad/README
build/makepack-dolibarr.pl
build/perl/virtualmin/dolibarr.pl
build/rpm/dolibarr_fedora.spec
build/rpm/dolibarr_generic.spec
build/rpm/dolibarr_mandriva.spec
build/rpm/dolibarr_opensuse.spec
htdocs/core/modules/syslog/mod_syslog_file.php
htdocs/filefunc.inc.php
htdocs/product/class/product.class.php
2013-04-23 14:04:56 +02:00
Laurent Destailleur
ff3b2933a8
Fix: Removed bad test
2013-04-23 10:42:10 +02:00
Laurent Destailleur
abb6daf2dc
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
htdocs/core/boxes/box_activity.php
2013-01-19 16:29:16 +01:00
Laurent Destailleur
060edf21da
New: Add more PHPUnit tests to prepare removal of adodb.
2013-01-18 15:54:40 +01:00
Laurent Destailleur
8d206fdfb0
Prepare move to other licence. For the moment all answers for licence
...
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Laurent Destailleur
7d83fdce5b
Fix: Several fixes into date functions
...
Qual: Add PHPUnit tests
2012-09-24 21:37:19 +02:00
Marcos García
5a73c32f46
Migrated ClassName to __construct() function
...
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
1810189cda
Doxygen
2012-02-15 13:41:05 +01:00
Laurent Destailleur
55f6cdd495
Qual: Removed warnings
2012-02-07 10:25:58 +01:00
Laurent Destailleur
2093b3f0be
New: Allow to use ODT templates for prososal like it's done for invoices
2012-02-05 19:37:52 +01:00