mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +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
|
@ -5,7 +5,7 @@ namespace Friendica\Test\src\Console;
|
|||
use Friendica\App;
|
||||
use Friendica\App\Mode;
|
||||
use Friendica\Console\Config;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Mockery\MockInterface;
|
||||
|
||||
class ConfigConsoleTest extends ConsoleTest
|
||||
|
@ -29,7 +29,7 @@ class ConfigConsoleTest extends ConsoleTest
|
|||
$this->appMode->shouldReceive('has')
|
||||
->andReturn(true);
|
||||
|
||||
$this->configMock = \Mockery::mock(Configuration::class);
|
||||
$this->configMock = \Mockery::mock(IConfiguration::class);
|
||||
}
|
||||
|
||||
function testSetGetKeyValue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue