minor #13110 [Security/Http] fix mock logger in test (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[Security/Http] fix mock logger in test

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

Commits
-------

4e544b9 [Security/Http] fix mock logger in test
This commit is contained in:
Fabien Potencier 2014-12-25 11:05:02 +01:00
commit 4475e4d23f

View File

@ -110,10 +110,7 @@ class SimplePreAuthenticationListenerTest extends \PHPUnit_Framework_TestCase
->will($this->returnValue($this->request))
;
$this->logger = $this->getMockBuilder('Symfony\Bridge\Monolog\Logger')
->disableOriginalConstructor()
->getMock()
;
$this->logger = $this->getMock('Psr\Log\LoggerInterface');
$this->securityContext = $this->getMockBuilder('Symfony\Component\Security\Core\SecurityContext')
->disableOriginalConstructor()