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.
2 parents b302f53 + ae79b24 commit 68ca943Copy full SHA for 68ca943
testing.rst
@@ -717,6 +717,10 @@ stores in the session of the test client. If you need to define custom
717
attributes in this token, you can use the ``tokenAttributes`` argument of the
718
:method:`Symfony\\Bundle\\FrameworkBundle\\KernelBrowser::loginUser` method.
719
720
+To set a specific firewall (``main`` is set by default)::
721
+
722
+ $client->loginUser($testUser, 'my_firewall');
723
724
.. note::
725
726
By design, the ``loginUser()`` method doesn't work when using stateless firewalls.
0 commit comments