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
902351cbaa
Fix phpunit
2023-01-16 15:45:17 +01:00
Laurent Destailleur
6c17c2f044
Test travis php7.1
2022-09-21 17:55:04 +02:00
Frédéric France
00da52ef8c
fix php8 warnings
2022-08-31 22:12:25 +02:00
Laurent Destailleur
4b79d91437
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
2022-06-23 12:35:24 +02:00
NASDAMI Quatadah
a11732bb0d
done
2022-06-15 15:44:40 +02:00
NASDAMI Quatadah
e07a94a051
changing the testUserHasRight
2022-06-15 15:31:23 +02:00
NASDAMI Quatadah
0af9fe275d
test userHasRight temporarily commented
2022-06-15 15:25:23 +02:00
NASDAMI Quatadah
ef8b041ac6
resolving phpcs errors
2022-06-09 13:29:02 +02:00
stickler-ci
7b3fe948a0
Fixing style errors.
2022-06-09 11:20:59 +00:00
NASDAMI Quatadah
e729d76833
removing some spaces
2022-06-09 13:19:26 +02:00
NASDAMI Quatadah
7f86c53b3e
fixing bug 20500
2022-06-09 13:15:40 +02:00
Laurent Destailleur
822a0a37f3
Fix phpunit
2022-04-28 22:37:21 +02:00
Laurent Destailleur
00eabded6d
Fix phpunit
2022-01-24 12:43:42 +01:00
Laurent Destailleur
956288081c
Fix phpunit
2022-01-04 13:45:18 +01:00
Laurent Destailleur
f8a97ef928
FIX a lot of problem with rules for password validation
2022-01-03 16:09:08 +01:00
Laurent Destailleur
4da5aeedf4
Fix bad test
2021-05-12 08:42:33 +02:00
Frédéric FRANCE
79c3670c20
doxygen
2021-02-11 21:12:32 +01:00
Frédéric FRANCE
b1a1cd4be6
code syntax
2021-01-14 15:09:08 +01:00
Laurent Destailleur
100edffdaf
Fix phpunit
2020-11-08 16:04:54 +01:00
Laurent Destailleur
fe8d93f72d
Fix phpcs
2020-11-07 01:17:54 +01:00
Laurent Destailleur
e027d6a433
Ignore field
2020-11-06 16:31:08 +01:00
Laurent Destailleur
a27fc22728
Fix phpunit
2020-10-31 16:53:40 +01:00
Frédéric FRANCE
43dcd9beb5
add new rule
2020-05-21 00:02:33 +02:00
Laurent Destailleur
4d6a45d491
Major doxygen fix
2020-05-03 22:48:35 +02:00
Frédéric FRANCE
fecc9e86a5
wip
2019-11-03 19:55:56 +01:00
Frédéric FRANCE
b8202f6ed4
wip
2019-11-03 18:15:24 +01:00
Frédéric FRANCE
2da87bcdc7
Update UserTest.php
2019-11-03 17:52:58 +01:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +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
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
24b073771e
wip
2019-01-27 13:07:22 +01:00
Laurent Destailleur
415fbc19af
Fix param
2018-12-22 18:12:29 +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
bd3647a9d7
Prepare phpunit 6.1 compatibility
2018-09-02 14:23:52 +02:00
Laurent Destailleur
a69c3caf2c
Prepare compatibility with phpunit 6.1
2018-09-02 14:10:06 +02:00
Laurent Destailleur
4247038d01
Add phpunit test
2017-10-22 13:06:27 +02:00
Laurent Destailleur
3e381aa5a2
Fix phpunit
2017-05-21 21:04:20 +02:00
Laurent Destailleur
ff35229be5
Fix phpunit
2017-05-21 20:46:11 +02:00
Laurent Destailleur
f06255e9d2
Complete the mailmap file.
2015-04-21 16:57:45 +02:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Laurent Destailleur
5fdd798e91
Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on
...
parameter).
2014-09-27 17:13:15 +02:00
Laurent Destailleur
e8b7c9c6bd
Fix: doxygen
2014-09-27 16:00:11 +02:00
Laurent Destailleur
19fb5e5085
Try to fix phpunit error with new version.
2014-05-01 19:57:53 +02:00
Laurent Destailleur
53cfb04995
Fix: do not compare on date that may differ if cpu too slow
2013-09-09 03:48:58 +02:00
Raphaël Doursenaud
686f5add82
Normalized line endings to LF
2013-06-05 16:12:07 +02:00
Laurent Destailleur
df08d838d7
More robust phpunit tests
2013-04-01 14:49:33 +02: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