summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/tests')
-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 a5e0e7a0..6b525265 100644
--- a/modules/gallery/tests/Cache_Test.php
+++ b/modules/gallery/tests/Cache_Test.php
@@ -30,7 +30,7 @@ class Cache_Test extends Unit_Test_Case {
$this->assert_false($this->_driver->exists("test_key"), "test_key should not be defined");
$id = md5(rand());
- $db->insert("caches", array("id" => $id, "tags" => "<tag1>, <tag2>",
+ $db->insert("caches", array("key" => $id, "tags" => "<tag1>, <tag2>",
"expiration" => 84600 + time(),
"cache" => serialize("some test data")));
@@ -41,7 +41,7 @@ class Cache_Test extends Unit_Test_Case {
$db = Database::instance();
$id = md5(rand());
- $db->insert("caches", array("id" => $id, "tags" => "<tag1>, <tag2>",
+ $db->insert("caches", array("key" => $id, "tags" => "<tag1>, <tag2>",
"expiration" => 84600 + time(),
"cache" => serialize("some test data")));