Skip to content

Commit c4e482d

Browse files
committed
Hash test case names to avoid hitting namespace limits
1 parent b679884 commit c4e482d

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
@@ -15,7 +15,7 @@ protected function getCollectionName()
1515
{
1616
$class = new ReflectionClass($this);
1717

18-
return sprintf('%s.%s', $class->getShortName(), $this->getName(false));
18+
return sprintf('%s.%s', $class->getShortName(), hash('crc32b', $this->getName()));
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)