mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
fixing tests and preload config
This commit is contained in:
parent
8d56fb8fbe
commit
1dee89f215
6 changed files with 12 additions and 60 deletions
|
@ -19,19 +19,6 @@ class ConfigCacheLoaderTest extends MockedTest
|
|||
$this->setUpVfsDir();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the loadConfigFiles() method with default values
|
||||
*/
|
||||
public function testLoadConfigFiles()
|
||||
{
|
||||
$configCacheLoader = new ConfigCacheLoader($this->root->url());
|
||||
$configCache = new ConfigCache();
|
||||
|
||||
$configCacheLoader->loadConfigFiles($configCache);
|
||||
|
||||
$this->assertEquals($this->root->url(), $configCache->get('system', 'basepath'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the loadConfigFiles() method with a wrong local.config.php
|
||||
* @expectedException \Exception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue