Skip to content

Commit 6d0300b

Browse files
committed
Use faster algorithm for collection name from test name
1 parent a0dc80a commit 6d0300b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ protected function getCollectionName(): string
201201
{
202202
$class = new ReflectionClass($this);
203203

204-
return sprintf('%s.%s', $class->getShortName(), hash('crc32b', $this->name()));
204+
return sprintf('%s.%s', $class->getShortName(), hash('xxh3', $this->name()));
205205
}
206206

207207
/**

0 commit comments

Comments
 (0)