mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 01:37:21 +01:00
release: v3.2.0
This commit is contained in:
@ -178,7 +178,7 @@ final readonly class Converter
|
||||
public function getTestSuiteLocation(TestSuite $testSuite): ?string
|
||||
{
|
||||
$firstTest = $this->getFirstTest($testSuite);
|
||||
if ($firstTest == null) {
|
||||
if (! $firstTest instanceof \PHPUnit\Event\Code\TestMethod) {
|
||||
return null;
|
||||
}
|
||||
$path = $firstTest->testDox()->prettifiedClassName();
|
||||
|
||||
Reference in New Issue
Block a user