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

Commit 407bf90

Browse files
Merge branch '2.6' into 2.7
* 2.6: Changed visibility of setUp() and tearDown to protected
2 parents 2f3ae1d + 13610c5 commit 407bf90

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/LegacySecurityContextTest.php

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

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2727

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)