Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f632449

Browse files
committed
use bin
1 parent cf923b9 commit f632449

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Uid/Tests/UlidTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ public function testCompare()
122122

123123
public function testFromStringOnExtendedClassReturnsStatic()
124124
{
125-
$uuid = new UuidV4();
126-
127-
$this->assertInstanceOf(CustomUlid::class, CustomUlid::fromString($uuid));
125+
$this->assertInstanceOf(CustomUlid::class, CustomUlid::fromString(hex2bin('7fffffffffffffffffffffffffffffff')));
128126
}
129127
}

0 commit comments

Comments
 (0)