summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Cache_Test.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-26 09:58:57 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-26 09:58:57 -0800
commitf28b80fcf43e02ca65f419eb6774321dc30a2a37 (patch)
tree34d3e44e5716751f71d10de623228bd541b487ae /modules/gallery/tests/Cache_Test.php
parent9f810150532a2511bfc5f03c9d24fd592d2f803f (diff)
parentb4922f4d176662976c9d2b249edf0e50a0cdfdf1 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/tests/Cache_Test.php')
-rw-r--r--modules/gallery/tests/Cache_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Cache_Test.php b/modules/gallery/tests/Cache_Test.php
index 1023568b..a942a292 100644
--- a/modules/gallery/tests/Cache_Test.php
+++ b/modules/gallery/tests/Cache_Test.php
@@ -118,7 +118,7 @@ class Cache_Test extends Gallery_Unit_Test_Case {
$value3 = array("field5" => "value5", "field6" => "value6");
$this->_driver->set(array($id3 => $value3), array("tag3", "tag4"), 84600);
- $this->_driver->delete($id1);
+ $this->_driver->delete(array($id1));
$this->assert_false($this->_driver->exists($id1), "$id1 should have been deleted");
$this->assert_true($this->_driver->exists($id2), "$id2 should not have been deleted");
@@ -138,7 +138,7 @@ class Cache_Test extends Gallery_Unit_Test_Case {
$value3 = array("field5" => "value5", "field6" => "value6");
$this->_driver->set(array($id3 => $value3), array("tag3", "tag4"), 84600);
- $data = $this->_driver->delete("tag3", true);
+ $data = $this->_driver->delete_tag(array("tag3"));
$this->assert_true($this->_driver->exists($id1), "$id1 should not have been deleted");
$this->assert_false($this->_driver->exists($id2), "$id2 should have been deleted");