8000 minor #13110 [Security/Http] fix mock logger in test (nicolas-grekas) · saro0h/symfony@4475e4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 4475e4d

Browse files
committed
minor symfony#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
2 parents 1922f55 + 4e544b9 commit 4475e4d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,7 @@ public function setUp()
110110
->will($this->returnValue($this->request))
111111
;
112112

113-
$this->logger = $this->getMockBuilder('Symfony\Bridge\Monolog\Logger')
114-
->disableOriginalConstructor()
115-
->getMock()
116-
;
113+
$this->logger = $this->getMock('Psr\Log\LoggerInterface');
117114

118115
$this->securityContext = $this->getMockBuilder('Symfony\Component\Security\Core\SecurityContext')
119116
->disableOriginalConstructor()

0 commit comments

Comments
 (0)
0