Fix tests

This commit is contained in:
Timothy Warren 2016-04-06 14:58:19 -04:00
parent 352ebb4105
commit 181af86899
1 changed files with 12 additions and 7 deletions

View File

@ -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);