Skip to content

Commit 2987828

Browse files
committed
fixed usage of setUp in tests
1 parent e170d94 commit 2987828

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/Lock/Tests/Store/CombinedStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getStore()
5858
/** @var CombinedStore */
5959
private $store;
6060

61-
public function setup()
61+
protected function setUp()
6262
{
6363
$this->strategy = $this->getMockBuilder(StrategyInterface::class)->getMock();
6464
$this->store1 = $this->getMockBuilder(StoreInterface::class)->getMock();

src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ConsensusStrategyTest extends TestCase
2222
/** @var ConsensusStrategy */
2323
private $strategy;
2424

25-
public function setup()
25+
protected function setUp()
2626
{
2727
$this->strategy = new ConsensusStrategy();
2828
}

src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UnanimousStrategyTest extends TestCase
2222
/** @var UnanimousStrategy */
2323
private $strategy;
2424

25-
public function setup()
25+
protected function setUp()
2626
{
2727
$this->strategy = new UnanimousStrategy();
2828
}

0 commit comments

Comments
 (0)