Fix tests
This commit is contained in:
parent
7efa180bbf
commit
7711765563
@ -32,6 +32,11 @@ class CacheManager implements CacheInterface {
|
||||
$config = $container->get('config');
|
||||
$driverConf = $config->get('cache_driver');
|
||||
|
||||
if (empty($driverConf))
|
||||
{
|
||||
$driverConf = 'SQLDriver';
|
||||
}
|
||||
|
||||
$driverClass = __NAMESPACE__ . "\\Driver\\{$driverConf}";
|
||||
$driver = new $driverClass($container);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user