diff --git a/tests/KintTest.php b/tests/KintTest.php index 7a78467c6..3c180889f 100644 --- a/tests/KintTest.php +++ b/tests/KintTest.php @@ -992,7 +992,7 @@ public function testGetIdeLink() { Kint::$file_link_format = '%f:%l'; - $file = \random_bytes(32); + $file = \bin2hex(\random_bytes(16)); $line = \random_int(1, PHP_INT_MAX); $this->assertSame(''.$file.':'.$line.'', Kint::getIdeLink($file, $line));