Files
dolibarr/test/phpunit
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
..
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2023-04-15 04:19:53 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2023-02-17 16:00:57 +01:00
2022-09-21 17:55:04 +02:00
2023-03-26 15:30:51 +02:00
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2022-12-26 17:05:14 +01:00
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00
2023-04-15 03:27:35 +02:00
2022-09-21 17:55:04 +02:00
2022-09-21 17:55:04 +02:00