minor #27931 [SecurityBundle] fix tests (xabbuh)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[SecurityBundle] fix tests

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27878
| License       | MIT
| Doc PR        |

Commits
-------

e69fac4c89 [SecurityBundle] fix tests
This commit is contained in:
Fabien Potencier 2018-07-12 11:49:17 +02:00
commit 5e28ac3150

View File

@ -42,7 +42,7 @@ class FirewallContextTest extends TestCase
/**
* @group legacy
* @expectedDeprecation Passing an instance of Symfony\Bundle\SecurityBundle\Security\FirewallConfig as 3rd argument to Symfony\Bundle\SecurityBundle\Security\FirewallContext::__construct() is deprecated since Symfony 4.2. Pass a Symfony\Component\Security\Http\Firewall\LogoutListener instance instead.
* @expectedDeprecation Passing an instance of Symfony\Bundle\SecurityBundle\Security\FirewallConfig as the 3rd argument to "Symfony\Bundle\SecurityBundle\Security\FirewallContext::__construct()" is deprecated since Symfony 4.2. Pass a Symfony\Component\Security\Http\Firewall\LogoutListener instance instead.
*/
public function testFirewallConfigAs3rdConstructorArgument()
{