mirror of
https://github.com/friendica/friendica
synced 2025-05-11 07:44:16 +02:00
Creating interfaces for Config/PConfig & fix tests
This commit is contained in:
parent
4835f1185f
commit
c1dbb25656
54 changed files with 349 additions and 285 deletions
|
@ -3,8 +3,7 @@
|
|||
namespace Friendica\Test\src\Core\Config;
|
||||
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\JitConfiguration;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Friendica\Model\Config\Config as ConfigModel;
|
||||
use Friendica\Test\MockedTest;
|
||||
use Mockery\MockInterface;
|
||||
|
@ -18,7 +17,7 @@ abstract class ConfigurationTest extends MockedTest
|
|||
/** @var ConfigCache */
|
||||
protected $configCache;
|
||||
|
||||
/** @var Configuration */
|
||||
/** @var IConfiguration */
|
||||
protected $testedConfig;
|
||||
|
||||
/**
|
||||
|
@ -47,7 +46,7 @@ abstract class ConfigurationTest extends MockedTest
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Configuration
|
||||
* @return IConfiguration
|
||||
*/
|
||||
public abstract function getInstance();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue