mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 01:39:33 +02:00
#389 enforce new configuration file format
This commit is contained in:
parent
63636a3cac
commit
ec7cc4c8cc
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ function testCreateDefaultConfig() {
|
|||
unlink($cfgPath);
|
||||
}
|
||||
touch($cfgPath);
|
||||
$fileHandle = fopen($cfgPath, 'w');
|
||||
fwrite($fileHandle, '{}');
|
||||
fclose($fileHandle);
|
||||
$serverProfilePersistenceManager = new ServerProfilePersistenceManager();
|
||||
$config = $serverProfilePersistenceManager->loadProfile(LAMConfigTest::FILE_NAME);
|
||||
$_SESSION['config'] = $config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue