Skip to content

Commit 70d725c

Browse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 3f8969c commit 70d725c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/EventListener/RouterListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RouterListenerTest extends \PHPUnit_Framework_TestCase
2222
{
2323
private $requestStack;
2424

25-
public function setUp()
25+
protected function setUp()
2626
{
2727
$this->requestStack = $this->getMock('Symfony\Component\HttpFoundation\RequestStack', array(), array(), '', false);
2828
}

Tests/Fragment/FragmentHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase
1919
{
2020
private $requestStack;
2121

22-
public function setUp()
22+
protected function setUp()
2323
{
2424
$this->requestStack = $this->getMockBuilder('Symfony\\Component\\HttpFoundation\\RequestStack')
2525
->disableOriginalConstructor()

0 commit comments

Comments
 (0)