Shorten "Configuration" to "Config" again, since the Wrapper is gone

This commit is contained in:
nupplaPhil 2020-01-19 21:29:36 +01:00
parent 21640ec5d8
commit cb80108957
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
53 changed files with 183 additions and 179 deletions

View file

@ -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