mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +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
|
@ -22,7 +22,7 @@ trait AppMockTrait
|
|||
protected $app;
|
||||
|
||||
/**
|
||||
* @var MockInterface|Config\IConfiguration The mocked Config Cache
|
||||
* @var MockInterface|Config\IConfig The mocked Config Cache
|
||||
*/
|
||||
protected $configMock;
|
||||
|
||||
|
@ -64,9 +64,9 @@ trait AppMockTrait
|
|||
// Disable the adapter
|
||||
$configModel->shouldReceive('isConnected')->andReturn(false);
|
||||
|
||||
$config = new Config\JitConfiguration($this->configMock, $configModel);
|
||||
$config = new Config\JitConfig($this->configMock, $configModel);
|
||||
$this->dice->shouldReceive('create')
|
||||
->with(Config\IConfiguration::class)
|
||||
->with(Config\IConfig::class)
|
||||
->andReturn($config);
|
||||
|
||||
// Mocking App and most used functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue