mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Remove Dice rules for unused $devLogger service
This commit is contained in:
parent
0869140756
commit
27fa4c0cdf
3 changed files with 2 additions and 20 deletions
|
@ -118,18 +118,6 @@ class DependencyCheckTest extends FixtureTestCase
|
|||
self::assertInstanceOf(LoggerInterface::class, $logger);
|
||||
}
|
||||
|
||||
public function testDevLogger()
|
||||
{
|
||||
/** @var IManageConfigValues $config */
|
||||
$config = $this->dice->create(IManageConfigValues::class);
|
||||
$config->set('system', 'dlogfile', $this->root->url() . '/friendica.log');
|
||||
|
||||
/** @var LoggerInterface $logger */
|
||||
$logger = $this->dice->create('$devLogger', ['dev']);
|
||||
|
||||
self::assertInstanceOf(LoggerInterface::class, $logger);
|
||||
}
|
||||
|
||||
public function testCache()
|
||||
{
|
||||
/** @var ICanCache $cache */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue