mirror of
https://github.com/friendica/friendica
synced 2025-05-06 17:04:12 +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
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Friendica\Test\src\Model\Storage;
|
||||
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Friendica\Core\Config\IConfig;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Model\Storage\Filesystem;
|
||||
use Friendica\Model\Storage\IStorage;
|
||||
|
@ -17,7 +17,7 @@ class FilesystemStorageTest extends StorageTest
|
|||
{
|
||||
use VFSTrait;
|
||||
|
||||
/** @var MockInterface|IConfiguration */
|
||||
/** @var MockInterface|IConfig */
|
||||
protected $config;
|
||||
|
||||
protected function setUp()
|
||||
|
@ -37,7 +37,7 @@ class FilesystemStorageTest extends StorageTest
|
|||
|
||||
/** @var MockInterface|L10n $l10n */
|
||||
$l10n = \Mockery::mock(L10n::class)->makePartial();
|
||||
$this->config = \Mockery::mock(IConfiguration::class);
|
||||
$this->config = \Mockery::mock(IConfig::class);
|
||||
$this->config->shouldReceive('get')
|
||||
->with('storage', 'filesystem_path', Filesystem::DEFAULT_BASE_FOLDER)
|
||||
->andReturn($this->root->getChild('storage')->url());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue