mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 14:56:50 +01:00
* [MOD] Update PHPunit to latest version.
* [MOD] Load fixtures using plain SQL files. * [MOD] Raise PHP version requirements (7.2 will be deprecated within a month). Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -47,7 +47,7 @@ class ConfigBackupServiceTest extends TestCase
|
||||
{
|
||||
protected static $currentConfig;
|
||||
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
self::$currentConfig = getResource('config', 'config.xml');
|
||||
}
|
||||
@@ -55,7 +55,7 @@ class ConfigBackupServiceTest extends TestCase
|
||||
/**
|
||||
* This method is called after the last test of this test class is run.
|
||||
*/
|
||||
public static function tearDownAfterClass()
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
saveResource('config', 'config.xml', self::$currentConfig);
|
||||
recreateDir(CACHE_PATH);
|
||||
|
||||
Reference in New Issue
Block a user