Skip to content

Commit 5f8da9b

Browse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 3d22d93 commit 5f8da9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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');

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');

0 commit comments

Comments
 (0)