Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:gallery/gallery3

  • Loading branch information...
commit de1785d9fa020ca150e0e8789b564e65377da0f1 2 parents 8ab580c + 212da35
@bharat bharat authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/gallery/tests/Cache_Test.php
View
4 modules/gallery/tests/Cache_Test.php
@@ -118,7 +118,7 @@ public function cache_delete_id_test() {
$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 @@ public function cache_delete_tag_test() {
$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");
Please sign in to comment.
Something went wrong with that request. Please try again.