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

Skip to content

Commit fd55f4e

Browse files
committed
fix
1 parent f632449 commit fd55f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

123123
public function testFromStringOnExtendedClassReturnsStatic()
124124
{
125-
$this->assertInstanceOf(CustomUlid::class, CustomUlid::fromString(hex2bin('7fffffffffffffffffffffffffffffff')));
125+
$this->assertInstanceOf(CustomUlid::class, CustomUlid::fromString((new CustomUlid())->toBinary()));
126126
}
127127
}

0 commit comments

Comments
 (0)