We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbddae1 commit 9e777d1Copy full SHA for 9e777d1
Tests/Test/WebTestCaseTest.php
@@ -274,13 +274,14 @@ private function getRequestTester(): WebTestCase
274
275
private function getTester(KernelBrowser $client): WebTestCase
276
{
277
- return new class($client) extends WebTestCase {
278
- use WebTestAssertionsTrait;
279
-
280
- public function __construct(KernelBrowser $client)
281
- {
282
- self::getClient($client);
+ $tester = new class() extends WebTestCase {
+ use WebTestAssertionsTrait {
+ getClient as public;
283
}
284
};
+
+ $tester::getClient($client);
285
+ return $tester;
286
287
0 commit comments