summaryrefslogtreecommitdiff
path: root/tests/unit/Caching
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Caching')
-rw-r--r--tests/unit/Caching/TAPCCacheTest.php6
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());
}