forked from Wavyzz/dolibarr
Test travis php7.1
This commit is contained in:
@@ -46,7 +46,7 @@ class InstallTest extends PHPUnit_Extensions_Selenium2TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
// Make sure we backup and remove the configuration file to force new install.
|
||||
@rename('htdocs/conf/conf.php', sys_get_temp_dir() . '/conf.php');
|
||||
@@ -74,7 +74,7 @@ class InstallTest extends PHPUnit_Extensions_Selenium2TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
// Remove the generated configuration and restore the backed up file.
|
||||
@unlink('htdocs/conf/conf.php');
|
||||
|
||||
@@ -103,7 +103,7 @@ class TakePosFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ class TakePosFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user