Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 7ce4fb1

Browse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 407bf90 commit 7ce4fb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testHandlecatchAuthenticationException()
9292
$listener->handle($this->event);
9393
}
9494

95-
public function setUp()
95+
protected function setUp()
9696
{
9797
$this->authenticationManager = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager')
9898
->disableOriginalConstructor()
@@ -115,7 +115,7 @@ public function setUp()
115115
$this->token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface');
116116
}
117117

118-
public function tearDown()
118+
protected function tearDown()
119119
{
120120
$this->authenticationManager = null;
121121
$this->dispatcher = null;

0 commit comments

Comments
 (0)