diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-06-10 08:16:07 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-06-10 08:16:07 -0700 |
| commit | 6119ddc735ccfa6816b78bb7028c56dabf322019 (patch) | |
| tree | b9cccdf2fb28e67b5cf37b26d0e0635a8cf7ad2a /modules/gallery/tests/Items_Rest_Helper_Test.php | |
| parent | d5b80f29444e03aadc1130ab1624a09c0689fb93 (diff) | |
| parent | 26d0af45eabe962c5366cb1e95de7e252b831796 (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/tests/Items_Rest_Helper_Test.php')
| -rw-r--r-- | modules/gallery/tests/Items_Rest_Helper_Test.php | 4 |
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, |
