forked from wallabag/wallabag
Use ::class notation where possible
This commit is contained in:
@ -52,7 +52,7 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase
|
||||
$application->add(new RedisWorkerCommand());
|
||||
|
||||
$factory = new RedisMockFactory();
|
||||
$redisMock = $factory->getAdapter('Predis\Client', true);
|
||||
$redisMock = $factory->getAdapter(Client::class, true);
|
||||
|
||||
$application->getKernel()->getContainer()->set(Client::class, $redisMock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user