Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 5a69da4466 - Show all commits

View File

@ -13,12 +13,13 @@
namespace Aviat\Ion\Cache\Driver;
use Aviat\Ion\Di\ContainerInterface;
use Aviat\Ion\Cache\CacheDriverInterface;
use Aviat\AnimeClient\Model\DB;
/**
* Driver for caching via a traditional SQL database
*/
class SQLDriver extends DB implements \Aviat\Ion\Cache\CacheDriverInterface {
class SQLDriver extends DB implements CacheDriverInterface {
/**
* The query builder object

View File

@ -19,7 +19,7 @@ class CacheRedisDriverTestTwo extends AnimeClient_TestCase {
$container = new Container();
$container->set('config', new Config([
'redis' => [
'host' => 'localhost',
'host' => (array_key_exists('REDIS_HOST', $_ENV)) ? $_ENV['REDIS_HOST'] : 'localhost',
'port' => 6379,
'password' => '',
'database' => 13,