Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  pass the test name to the WebTestCase constructor
  • Loading branch information
xabbuh committed Oct 17, 2024
2 parents d1ae40e + 48aba9b commit 2c15425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Test/WebTestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ private function getRequestTester(): WebTestCase

private function getTester(KernelBrowser $client): WebTestCase
{
$tester = new class() extends WebTestCase {
$tester = new class(method_exists($this, 'name') ? $this->name() : $this->getName()) extends WebTestCase {
use WebTestAssertionsTrait {
getClient as public;
}
Expand Down

0 comments on commit 2c15425

Please sign in to comment.