Skip to content

Commit 3daca5a

Browse files
committed
change the test as well as now serialization includes the key along with the value
1 parent 60b7c4e commit 3daca5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/EnumTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ private function assertJsonEqualsJson($json1, $json2)
303303
public function testSerialize()
304304
{
305305
// split string for Pretty CI: "Line exceeds 120 characters"
306-
$bin = '4f3a33303a224d79434c6162735c54657374735c456e756d5c456e756d4669787'.
307-
'4757265223a313a7b733a383a22002a0076616c7565223b733a333a22666f6f223b7d';
306+
$bin = '4f3a33303a224d79434c6162735c54657374735c456e756d5c456e756d46697874757265223a323a7b733a38' .
307+
'3a22002a0076616c7565223b733a333a22666f6f223b733a363a22002a006b6579223b733a333a22464f4f223b7d';
308308

309309
$this->assertEquals($bin, bin2hex(serialize(EnumFixture::FOO())));
310310
}

0 commit comments

Comments
 (0)