From d7bae53911d683a7f1153f0df6e524d21c4e88d0 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Thu, 1 Dec 2011 18:58:15 +0400 Subject: [PATCH] Correction TODO comments and remove them --- tests/cache/MemcacheCacheTest.php | 4 ---- tests/redis/RedisManagerTest.php | 3 --- 2 files changed, 7 deletions(-) diff --git a/tests/cache/MemcacheCacheTest.php b/tests/cache/MemcacheCacheTest.php index 379edff..70cbb78 100644 --- a/tests/cache/MemcacheCacheTest.php +++ b/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); } diff --git a/tests/redis/RedisManagerTest.php b/tests/redis/RedisManagerTest.php index 442a2c5..f80f2e6 100644 --- a/tests/redis/RedisManagerTest.php +++ b/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');