diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-18 12:52:52 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-18 12:52:52 -0800 |
commit | 9384f987bb96d0d39787ff9d3d16a70c01cd76e0 (patch) | |
tree | d6e240dcceb9dc6611116a0398f084a59c6453be | |
parent | 06cabecd76781d7075cbacb5cf433042b4296dc5 (diff) |
Coerce some integers to strings now that ORM isn't typecasting anymore.
-rw-r--r-- | modules/tag/tests/Tag_Rest_Helper_Test.php | 4 |
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 4e8dd527..514538d4 100644 --- a/modules/tag/tests/Tag_Rest_Helper_Test.php +++ b/modules/tag/tests/Tag_Rest_Helper_Test.php @@ -85,8 +85,8 @@ class Tag_Rest_Helper_Test extends Unit_Test_Case { $this->assert_equal( json_encode(array("status" => "OK", - "tags" => array(array("name" => "albums", "count" => 2), - array("name" => "photos", "count" => 2)))), + "tags" => array(array("name" => "albums", "count" => "2"), + array("name" => "photos", "count" => "2")))), tag_rest::get($request)); } |