This commit is contained in:
Nicolas Grekas 2020-11-03 13:14:11 +01:00
parent 703497dccf
commit 6fe261a7ae

View File

@ -178,7 +178,7 @@ class SymfonyTestsListenerTrait
foreach ($s->tests() as $test) { foreach ($s->tests() as $test) {
if ($test instanceof \PHPUnit_Framework_TestSuite || $test instanceof TestSuite) { if ($test instanceof \PHPUnit_Framework_TestSuite || $test instanceof TestSuite) {
$suites[] = $test; $suites[] = $test;
continue continue;
} }
if (($test instanceof \PHPUnit_Framework_TestCase || $test instanceof TestCase) if (($test instanceof \PHPUnit_Framework_TestCase || $test instanceof TestCase)
&& isset($this->wasSkipped[\get_class($test)][$test->getName()]) && isset($this->wasSkipped[\get_class($test)][$test->getName()])