We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1ae40e + 48aba9b commit 2c15425Copy full SHA for 2c15425
Tests/Test/WebTestCaseTest.php
@@ -397,7 +397,7 @@ private function getRequestTester(): WebTestCase
397
398
private function getTester(KernelBrowser $client): WebTestCase
399
{
400
- $tester = new class() extends WebTestCase {
+ $tester = new class(method_exists($this, 'name') ? $this->name() : $this->getName()) extends WebTestCase {
401
use WebTestAssertionsTrait {
402
getClient as public;
403
}
0 commit comments