MINOR Fixed RestfulServerTest

This commit is contained in:
Ingo Schommer 2011-05-19 15:17:38 +12:00
parent ced7d6db7a
commit 67ec23677a

View File

@ -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");
}