Merge pull request #700 from faissaloux/fix-test-case-name-starts-with-P

Fix test Case Name starts with a P
This commit is contained in:
Nuno Maduro
2023-03-19 17:55:38 +00:00
committed by GitHub

View File

@ -277,7 +277,7 @@ trait Testable
*/
public static function getPrintableTestCaseName(): string
{
return ltrim(self::class, 'P\\');
return preg_replace('/P\\\/', '', self::class, 1);
}
/**