|
@@ -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";
|
|
|
}
|