Skip to content

Commit 0061328

Browse files
committed
Use faster algorithm for collection name from test name
1 parent 7d712c2 commit 0061328

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
@@ -203,7 +203,7 @@ protected function getCollectionName(): string
203203
{
204204
$class = new ReflectionClass($this);
205205

206-
return sprintf('%s.%s', $class->getShortName(), hash('crc32b', $this->name()));
206+
return sprintf('%s.%s', $class->getShortName(), hash('xxh3', $this->name()));
207207
}
208208

209209
/**

0 commit comments

Comments
 (0)