mirror of
https://github.com/friendica/friendica
synced 2025-05-15 01:04:10 +02:00
Shorten "Configuration" to "Config" again, since the Wrapper is gone
This commit is contained in:
parent
21640ec5d8
commit
cb80108957
53 changed files with 183 additions and 179 deletions
|
@ -3,7 +3,7 @@
|
|||
namespace Friendica\Test\src\Core\Config;
|
||||
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Model\Config\Config as ConfigModel;
|
||||
use Friendica\Test\MockedTest;
|
||||
use Mockery\MockInterface;
|
||||
|
@ -17,7 +17,7 @@ abstract class ConfigurationTest extends MockedTest
|
|||
/** @var ConfigCache */
|
||||
protected $configCache;
|
||||
|
||||
/** @var IConfiguration */
|
||||
/** @var IConfig */
|
||||
protected $testedConfig;
|
||||
|
||||
/**
|
||||
|
@ -46,7 +46,7 @@ abstract class ConfigurationTest extends MockedTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return IConfiguration
|
||||
* @return IConfig
|
||||
*/
|
||||
public abstract function getInstance();
|
||||
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Config;
|
||||
|
||||
use Friendica\Core\Config\JitConfiguration;
|
||||
use Friendica\Core\Config\JitConfig;
|
||||
|
||||
class JitConfigurationTest extends ConfigurationTest
|
||||
{
|
||||
public function getInstance()
|
||||
{
|
||||
return new JitConfiguration($this->configCache, $this->configModel);
|
||||
return new JitConfig($this->configCache, $this->configModel);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Config;
|
||||
|
||||
use Friendica\Core\Config\PreloadConfiguration;
|
||||
use Friendica\Core\Config\PreloadConfig;
|
||||
|
||||
class PreloadConfigurationTest extends ConfigurationTest
|
||||
{
|
||||
public function getInstance()
|
||||
{
|
||||
return new PreloadConfiguration($this->configCache, $this->configModel);
|
||||
return new PreloadConfig($this->configCache, $this->configModel);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue