mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
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');
|
||||
|
||||
Reference in New Issue
Block a user