Skip to content

Commit

Permalink
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 22, 2022
2 parents 394c3d5 + 5dfd9af commit d5438f9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ notifications:

install:
- |
echo "Updating Composer"
rm $TRAVIS_BUILD_DIR/composer.json
rm $TRAVIS_BUILD_DIR/composer.lock
echo "Updating Composer (version 2.5 is bugged and generate phpunit error Exception: Serialization of 'Closure' is not allowed)"
#rm $TRAVIS_BUILD_DIR/composer.json
#rm $TRAVIS_BUILD_DIR/composer.lock
composer -V
composer self-update
composer -n init
composer -n config vendor-dir htdocs/includes
composer self-update 2.4.4
#composer -n init
#composer -n config vendor-dir htdocs/includes
composer -n config -g vendor-dir htdocs/includes
echo
Expand Down
2 changes: 2 additions & 0 deletions test/phpunit/AdminLibTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*/
class AdminLibTest extends PHPUnit\Framework\TestCase
{
protected $backupGlobalsBlacklist = array('conf', 'user', 'langs', 'db');
protected $savconf;
protected $savuser;
protected $savlangs;
Expand All @@ -69,6 +70,7 @@ public function __construct()
$this->savdb=$db;

print __METHOD__." db->type=".$db->type." user->id=".$user->id;

//print " - db ".$db->db;
print "\n";
}
Expand Down
4 changes: 2 additions & 2 deletions test/phpunit/phpunittest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE phpunit SYSTEM "phpunit.dtd" >
<phpunit
backupGlobals="true"
backupStaticAttributes="false"
backupGlobals="false"
backupStaticAttributes="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
Expand Down

0 comments on commit d5438f9

Please sign in to comment.