mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix compatibility php5.6+
This commit is contained in:
parent
6ba725eb5e
commit
06e92bb262
|
|
@ -79,7 +79,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function setUpBeforeClass():void
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function tearDownAfterClass():void
|
||||
public static function tearDownAfterClass()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
$db->rollback();
|
||||
|
|
@ -106,7 +106,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setUp():void
|
||||
protected function setUp()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
$conf=$this->savconf;
|
||||
|
|
@ -122,7 +122,7 @@ class InventoryTest extends PHPUnit\Framework\TestCase
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function tearDown():void
|
||||
protected function tearDown()
|
||||
{
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user