PF4Public

Results 531 comments of PF4Public

This is still an issue for 5.1

> Use self::ensureKernelShutdown(); Could you please explain more, how do I use it?

@carsonbot This is still an issue

Still an issue with symfony 5.2 For anyone coming here: this hack works so far: ```diff --- a/vendor/symfony/framework-bundle/Test/WebTestCase.php +++ b/vendor/symfony/framework-bundle/Test/WebTestCase.php @@ -39,9 +39,9 @@ */ protected static function createClient(array $options...

@fabpot Please comment on this issue.

> Not sure how much I've added to this discussion You did a deep research, thanks! Indeed from the start I had a suspicion that it is no longer supported...

> @PF4Public have you found a solution? Nope. I'm still patching `vendor/symfony/framework-bundle/Test/WebTestCase.php` with [the patch I mentioned earlier](https://github.com/symfony/symfony/issues/36439#issuecomment-822067313) on my dev system. I didn't upgrade Symfony to 5.4 yet though,...

Will it work in a situation like this? ```php … $admin_client = static::createClient(array(), array( 'PHP_AUTH_USER' => 'admin', 'PHP_AUTH_PW' => 'admin', )); $crawler = $admin_client->request('GET', '/admin/users'); $form = $crawler->selectButton('form_save')->form(); $form['form[username]'] =...

> Have you managed to find a workaround? Patching the bundle as ~usual~ 4 years ago.

I hope your question(-s) has(-ve) been answered, otherwise please let us know. Closing this issue for now.