mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed RestfulServerTest
This commit is contained in:
parent
ced7d6db7a
commit
67ec23677a
@ -375,7 +375,7 @@ class RestfulServerTest extends SapphireTest {
|
|||||||
);
|
);
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
$formatter->convertDataObjectSet($set, array("FirstName", "Email")),
|
$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");
|
"Correct JSON formatting on a dataobjectset with field filter");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user