mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
- Adding additional legacy .htconfig information
This commit is contained in:
parent
542e363a49
commit
1acd5c7d22
3 changed files with 40 additions and 14 deletions
|
@ -8,6 +8,12 @@ $db_user = 'testuser';
|
|||
$db_pass = 'testpw';
|
||||
$db_data = 'testdb';
|
||||
|
||||
$admin_email = 'admin@friendica.local';
|
||||
$admin_nickname = 'Friendly admin';
|
||||
|
||||
$pidfile = '/var/run/friendica.pid';
|
||||
$default_timezone = 'Europe/Berlin';
|
||||
$lang = 'fr';
|
||||
|
||||
$php_path = '/another/php';
|
||||
$max_import_size = 999;
|
|
@ -135,6 +135,12 @@ class ConfigCacheLoaderTest extends MockedTest
|
|||
$this->assertEquals('/var/run/friendica.pid', $configCache->get('system', 'pidfile'));
|
||||
$this->assertEquals('Europe/Berlin', $configCache->get('system', 'default_timezone'));
|
||||
$this->assertEquals('fr', $configCache->get('system', 'language'));
|
||||
|
||||
$this->assertEquals('admin@friendica.local', $configCache->get('config', 'admin_email'));
|
||||
$this->assertEquals('Friendly admin', $configCache->get('config', 'admin_nickname'));
|
||||
|
||||
$this->assertEquals('/another/php', $configCache->get('config', 'php_path'));
|
||||
$this->assertEquals('999', $configCache->get('config', 'max_import_size'));
|
||||
}
|
||||
|
||||
public function testLoadAddonConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue