We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f10c8 commit 2d3120bCopy full SHA for 2d3120b
tests/EventSerializerTest.php
@@ -249,7 +249,7 @@ public function testNonStringAttributes()
249
$this->assertSame('7', $json['avatar']);
250
$this->assertSame('8', $json['firstName']);
251
$this->assertSame('9', $json['lastName']);
252
- $this->assertSame(true, $json['anonymous']);
253
- $this->assertSame(10, $json['custom']['foo']);
+ $this->assertSame(true, $json['anonymous']); // We do NOT want "anonymous" to be stringified
+ $this->assertSame(10, $json['custom']['foo']); // We do NOT want custom attribute values to be stringified
254
}
255
0 commit comments