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.
KernelBrowser::loginUser()
1 parent 1094a52 commit 70bdf29Copy full SHA for 70bdf29
src/Symfony/Bundle/Test/Client.php
@@ -236,6 +236,8 @@ private static function extractHeaders(array $options): array
236
237
public function loginUser(UserInterface $user, string $firewallContext = 'main'): self
238
{
239
+ $this->kernelBrowser->getKernel()->boot();
240
+
241
$this->kernelBrowser->loginUser($user, $firewallContext);
242
243
return $this;
0 commit comments