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 eaaf3f2 commit 4c11b3bCopy full SHA for 4c11b3b
testing.rst
@@ -712,6 +712,10 @@ stores in the session of the test client. If you need to define custom
712
attributes in this token, you can use the ``tokenAttributes`` argument of the
713
:method:`Symfony\\Bundle\\FrameworkBundle\\KernelBrowser::loginUser` method.
714
715
+To set a specific firewall (``main`` is set by default)::
716
+
717
+ $client->loginUser($testUser, 'my_firewall');
718
719
.. note::
720
721
By design, the ``loginUser()`` method doesn't work when using stateless firewalls.
0 commit comments