Browse Source

Correction TODO comments and remove them

master
Vyacheslav Agafonov 13 years ago
parent
commit
d7bae53911
  1. 4
      tests/cache/MemcacheCacheTest.php
  2. 3
      tests/redis/RedisManagerTest.php

4
tests/cache/MemcacheCacheTest.php

@ -36,14 +36,10 @@ class MemcacheCacheTest extends PHPUnit_Framework_TestCase
$this->assertAttributeInstanceOf('TestCache', 'connection', $memcache);
}
/**
* @TODO: MemcacheCache::__construct - empty config array passes with no host params
*/
public function testWrongConfig()
{
$config = array('some' => array());
$this->setExpectedException('InitializationException', 'Configuration must have a');
$memcache = new MemcacheCache($config);
}

3
tests/redis/RedisManagerTest.php

@ -42,9 +42,6 @@ class RedisManagerTest extends PHPUnit_Framework_TestCase
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()
{
$this->setExpectedException('GeneralException', 'Redis config no existence');

Loading…
Cancel
Save