summaryrefslogtreecommitdiff
path: root/modules/tag/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/tests')
-rw-r--r--modules/tag/tests/Tag_Rest_Helper_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/tests/Tag_Rest_Helper_Test.php b/modules/tag/tests/Tag_Rest_Helper_Test.php
index eacf91b3..d3cae0fb 100644
--- a/modules/tag/tests/Tag_Rest_Helper_Test.php
+++ b/modules/tag/tests/Tag_Rest_Helper_Test.php
@@ -31,7 +31,7 @@ class Tag_Rest_Helper_Test extends Gallery_Unit_Test_Case {
$request->url = rest::url("tag", $tag);
$this->assert_equal_array(
array("url" => rest::url("tag", $tag),
- "resource" => $tag->as_array(),
+ "entity" => $tag->as_array(),
"relationships" => array(
"items" => array(
"url" => rest::url("tag_items", $tag),
@@ -56,7 +56,7 @@ class Tag_Rest_Helper_Test extends Gallery_Unit_Test_Case {
$request->url = rest::url("tag", $tag);
$this->assert_equal_array(
array("url" => rest::url("tag", $tag),
- "resource" => $tag->as_array(),
+ "entity" => $tag->as_array(),
"relationships" => array(
"items" => array(
"url" => rest::url("tag_items", $tag),