ion/tests/Ion/Cache/Driver/RedisDriverTest.php

29 lines
436 B
PHP
Raw Normal View History

<?php
2016-08-29 11:34:25 -04:00
namespace Aviat\Ion\Tests\Cache\Driver;
use Aviat\Ion\Cache\Driver\RedisDriver;
2016-08-29 11:34:25 -04:00
class CacheRedisDriverTest extends \Ion_TestCase {
use CacheDriverBase;
2016-08-29 11:34:25 -04:00
protected $driver;
2016-08-29 11:34:25 -04:00
public function setUp()
{
parent::setUp();
$this->driver = new RedisDriver($this->container->get('config'));
}
public function tearDown()
{
parent::tearDown();
if ( ! is_null($this->driver))
{
$this->driver->__destruct();
}
}
}