Skip to content

Commit 2c15425

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: pass the test name to the WebTestCase constructor
2 parents d1ae40e + 48aba9b commit 2c15425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Test/WebTestCaseTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private function getRequestTester(): WebTestCase
397397

398398
private function getTester(KernelBrowser $client): WebTestCase
399399
{
400-
$tester = new class() extends WebTestCase {
400+
$tester = new class(method_exists($this, 'name') ? $this->name() : $this->getName()) extends WebTestCase {
401401
use WebTestAssertionsTrait {
402402
getClient as public;
403403
}

0 commit comments

Comments
 (0)