summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Items_Rest_Helper_Test.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@227.1.241.10.in-addr.arpa>2010-06-14 14:43:14 -0400
committerChad Kieffer <ckieffer@227.1.241.10.in-addr.arpa>2010-06-14 14:43:14 -0400
commit3c6e710aa75b309fd7ff50aa8f5c58721b17770f (patch)
tree062b516f3fad5921e4ace326fa6b2f7f868ca87e /modules/gallery/tests/Items_Rest_Helper_Test.php
parent782c1e0ae0bc597629abcd88f844d863da45901a (diff)
parent793780daa7665f7f86994235c4263fcb63554eb8 (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Items_Rest_Helper_Test.php')
-rw-r--r--modules/gallery/tests/Items_Rest_Helper_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Items_Rest_Helper_Test.php b/modules/gallery/tests/Items_Rest_Helper_Test.php
index 94bf912a..17e979a5 100644
--- a/modules/gallery/tests/Items_Rest_Helper_Test.php
+++ b/modules/gallery/tests/Items_Rest_Helper_Test.php
@@ -135,7 +135,7 @@ class Items_Rest_Helper_Test extends Gallery_Unit_Test_Case {
items_rest::get($request));
}
- public function get_ancestor_test() {
+ public function get_ancestors_test() {
$album1 = test::random_album();
$photo1 = test::random_photo($album1);
$album2 = test::random_album($album1);
@@ -155,7 +155,7 @@ class Items_Rest_Helper_Test extends Gallery_Unit_Test_Case {
$request = new stdClass();
$request->params = new stdClass();
- $request->params->ancestor_for = rest::url("item", $photo2);
+ $request->params->ancestors_for = rest::url("item", $photo2);
$this->assert_equal_array(
array(
$restful_root,