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 0160e14 commit 9cedefaCopy full SHA for 9cedefa
testing.rst
@@ -759,6 +759,10 @@ You can pass any
759
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\TestBrowserToken` object and
760
stores in the session of the test client.
761
762
+To set a specific firewall (``main`` is set by default)::
763
+
764
+ $client->loginUser($testUser, 'my_firewall');
765
766
.. note::
767
768
By design, the ``loginUser()`` method doesn't work when using stateless firewalls.
0 commit comments