Skip to content

Commit 4cbf327

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: silence warnings triggered when malformed XML is parsed pass the test name to the WebTestCase constructor
2 parents adb9826 + 2c15425 commit 4cbf327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Test/WebTestCaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ private function getRequestTester(): WebTestCase
388388

389389
private function getTester(KernelBrowser $client): WebTestCase
390390
{
391-
$tester = new class() extends WebTestCase {
391+
$tester = new class(method_exists($this, 'name') ? $this->name() : $this->getName()) extends WebTestCase {
392392
use WebTestAssertionsTrait {
393393
getClient as public;
394394
}

0 commit comments

Comments
 (0)