Correction TODO comments and remove them
This commit is contained in:
4
tests/cache/MemcacheCacheTest.php
vendored
4
tests/cache/MemcacheCacheTest.php
vendored
@ -36,14 +36,10 @@ class MemcacheCacheTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertAttributeInstanceOf('TestCache', 'connection', $memcache);
|
$this->assertAttributeInstanceOf('TestCache', 'connection', $memcache);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO: MemcacheCache::__construct - empty config array passes with no host params
|
|
||||||
*/
|
|
||||||
public function testWrongConfig()
|
public function testWrongConfig()
|
||||||
{
|
{
|
||||||
$config = array('some' => array());
|
$config = array('some' => array());
|
||||||
$this->setExpectedException('InitializationException', 'Configuration must have a');
|
$this->setExpectedException('InitializationException', 'Configuration must have a');
|
||||||
|
|
||||||
$memcache = new MemcacheCache($config);
|
$memcache = new MemcacheCache($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,9 +42,6 @@ class RedisManagerTest extends PHPUnit_Framework_TestCase
|
|||||||
set_new_overload(array($this, 'newCallback'));
|
set_new_overload(array($this, 'newCallback'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO: line 34: $config = Config::get('Redis')->$name; - check for Redis config existence. Agafonov: 'check added'
|
|
||||||
*/
|
|
||||||
public function testConnectNoAnyConfig()
|
public function testConnectNoAnyConfig()
|
||||||
{
|
{
|
||||||
$this->setExpectedException('GeneralException', 'Redis config no existence');
|
$this->setExpectedException('GeneralException', 'Redis config no existence');
|
||||||
|
Reference in New Issue
Block a user