diff options
author | knut <> | 2007-06-11 17:24:23 +0000 |
---|---|---|
committer | knut <> | 2007-06-11 17:24:23 +0000 |
commit | 664830a178052d915d5dfc59a3e023120781d6ba (patch) | |
tree | a353bc02db96af0e4a9c474c8bbfcf874f9611e5 /tests/unit/Caching/TAPCCacheTest.php | |
parent | dbd2306c6986e16e5cf92b01aa0a08040cb8b1b7 (diff) |
corrected TAPCCache according to #646 and added some more stubs for unit tests in System.Web.UI
Diffstat (limited to 'tests/unit/Caching/TAPCCacheTest.php')
-rw-r--r-- | tests/unit/Caching/TAPCCacheTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Caching/TAPCCacheTest.php b/tests/unit/Caching/TAPCCacheTest.php index 2bf1d5d3..bfd561e7 100644 --- a/tests/unit/Caching/TAPCCacheTest.php +++ b/tests/unit/Caching/TAPCCacheTest.php @@ -53,8 +53,8 @@ class TAPCCacheTest extends PHPUnit_Framework_TestCase { } public function testAdd() { - self::$cache->add('key', 'value'); - self::assertEquals('value', self::$cache->get('key')); + self::$cache->add('anotherkey', 'value'); + self::assertEquals('value', self::$cache->get('anotherkey')); } public function testDelete() { @@ -63,7 +63,7 @@ class TAPCCacheTest extends PHPUnit_Framework_TestCase { } public function testFlush() { - $this->testAdd(); + $this->testSetAndGet(); self::assertEquals(true, self::$cache->flush()); } |