From 67ec23677a0b84942eb53bb3e30848b264f9b75c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 19 May 2011 15:17:38 +1200 Subject: [PATCH] MINOR Fixed RestfulServerTest --- tests/api/RestfulServerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/RestfulServerTest.php b/tests/api/RestfulServerTest.php index d5c9e1395..578f5ef0b 100644 --- a/tests/api/RestfulServerTest.php +++ b/tests/api/RestfulServerTest.php @@ -375,7 +375,7 @@ class RestfulServerTest extends SapphireTest { ); $this->assertEquals( $formatter->convertDataObjectSet($set, array("FirstName", "Email")), - '{"totalSize":null,"items":[{"FirstName":"Editor","Email":"editor@test.com"},{"FirstName":"User","Email":"user@test.com"}]', + '{"totalSize":null,"items":[{"FirstName":"Editor","Email":"editor@test.com"},{"FirstName":"User","Email":"user@test.com"}]}', "Correct JSON formatting on a dataobjectset with field filter"); }