Skip to content

Commit

Permalink
change the test as well as now serialization includes the key along w…
Browse files Browse the repository at this point in the history
…ith the value
  • Loading branch information
drealecs committed Feb 12, 2021
1 parent 60b7c4e commit 3daca5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/EnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ private function assertJsonEqualsJson($json1, $json2)
public function testSerialize()
{
// split string for Pretty CI: "Line exceeds 120 characters"
$bin = '4f3a33303a224d79434c6162735c54657374735c456e756d5c456e756d4669787'.
'4757265223a313a7b733a383a22002a0076616c7565223b733a333a22666f6f223b7d';
$bin = '4f3a33303a224d79434c6162735c54657374735c456e756d5c456e756d46697874757265223a323a7b733a38' .
'3a22002a0076616c7565223b733a333a22666f6f223b733a363a22002a006b6579223b733a333a22464f4f223b7d';

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

0 comments on commit 3daca5a

Please sign in to comment.