Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2c15425

Browse filesBrowse 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
Copy full SHA for 2c15425

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Tests/Test/WebTestCaseTest.php

Copy file name to clipboardExpand all lines: Tests/Test/WebTestCaseTest.php
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.