diff options
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Tests/Authorization/AuthorizationCheckerTest.php | 2 | ||||
-rw-r--r-- | Core/Tests/SecurityContextTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Core/Tests/Authorization/AuthorizationCheckerTest.php b/Core/Tests/Authorization/AuthorizationCheckerTest.php index 64de6ef..aafc12f 100644 --- a/Core/Tests/Authorization/AuthorizationCheckerTest.php +++ b/Core/Tests/Authorization/AuthorizationCheckerTest.php @@ -21,7 +21,7 @@ class AuthorizationCheckerTest extends \PHPUnit_Framework_TestCase private $authorizationChecker; private $tokenStorage; - public function setUp() + protected function setUp() { $this->authenticationManager = $this->getMock('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface'); $this->accessDecisionManager = $this->getMock('Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface'); diff --git a/Core/Tests/SecurityContextTest.php b/Core/Tests/SecurityContextTest.php index 886c596..bcf9ad9 100644 --- a/Core/Tests/SecurityContextTest.php +++ b/Core/Tests/SecurityContextTest.php @@ -21,7 +21,7 @@ class SecurityContextTest extends \PHPUnit_Framework_TestCase private $authorizationChecker; private $securityContext; - public function setUp() + protected function setUp() { $this->tokenStorage = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'); $this->authorizationChecker = $this->getMock('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'); |