Skip to content

Commit

Permalink
Fix get_ancestor_test() since the parameter was renamed to ancestors_…
Browse files Browse the repository at this point in the history
…for.
  • Loading branch information
bharat committed Jun 10, 2010
1 parent 3dacafb commit aff0f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gallery/tests/Items_Rest_Helper_Test.php
Expand Up @@ -135,7 +135,7 @@ public function get_url_filter_albums_photos_test() {
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);
Expand All @@ -155,7 +155,7 @@ public function get_ancestor_test() {

$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,
Expand Down

0 comments on commit aff0f6e

Please sign in to comment.