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

Commit 13610c5

Browse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 79b93b2 commit 13610c5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Core/Tests/Authorization/AuthorizationCheckerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AuthorizationCheckerTest extends \PHPUnit_Framework_TestCase
2121
private $authorizationChecker;
2222
private $tokenStorage;
2323

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->authenticationManager = $this->getMock('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface');
2727
$this->accessDecisionManager = $this->getMock('Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface');

Core/Tests/SecurityContextTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class SecurityContextTest extends \PHPUnit_Framework_TestCase
2121
private $authorizationChecker;
2222
private $securityContext;
2323

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->tokenStorage = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface');
2727
$this->authorizationChecker = $this->getMock('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface');

Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SimpleAuthenticationHandlerTest extends \PHPUnit_Framework_TestCase
3131

3232
private $response;
3333

34-
public function setUp()
34+
protected function setUp()
3535
{
3636
$this->successHandler = $this->getMock('Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface');
3737
$this->failureHandler = $this->getMock('Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface');

Tests/Core/Authentication/Voter/AbstractVoterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AbstractVoterTest extends \PHPUnit_Framework_TestCase
2525

2626
private $token;
2727

28-
public function setUp()
28+
protected function setUp()
2929
{
3030
$this->voter = new VoterFixture();
3131

0 commit comments

Comments
 (0)