Add a protection into test mode
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
Fix: Test error code