phpunit 6.1 compatibility

This commit is contained in:
Laurent Destailleur 2018-09-02 15:24:29 +02:00
parent 0b34acae7c
commit ebba0b9e67
4 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,8 @@ class AccountingAccountTest extends PHPUnit_Framework_TestCase
*/
function __construct()
{
parent::__construct();
//$this->sharedFixture
global $conf,$user,$langs,$db;
$this->savconf=$conf;

View File

@ -61,6 +61,8 @@ class GetUrlLibTest extends PHPUnit_Framework_TestCase
*/
function __construct()
{
parent::__construct();
//$this->sharedFixture
global $conf,$user,$langs,$db;
$this->savconf=$conf;

View File

@ -63,6 +63,8 @@ class SupplierProposalTest extends PHPUnit_Framework_TestCase
*/
function __construct()
{
parent::__construct();
//$this->sharedFixture
global $conf,$user,$langs,$db;
$this->savconf=$conf;

View File

@ -59,6 +59,8 @@ class UtilsTest extends PHPUnit_Framework_TestCase
*/
function __construct()
{
parent::__construct();
//$this->sharedFixture
global $conf,$user,$langs,$db;
$this->savconf=$conf;