fixed usage of setUp in tests

This commit is contained in:
Fabien Potencier 2018-09-04 08:21:44 +02:00
parent e170d940d8
commit 298782841c
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class CombinedStoreTest extends AbstractStoreTest
/** @var CombinedStore */ /** @var CombinedStore */
private $store; private $store;
public function setup() protected function setUp()
{ {
$this->strategy = $this->getMockBuilder(StrategyInterface::class)->getMock(); $this->strategy = $this->getMockBuilder(StrategyInterface::class)->getMock();
$this->store1 = $this->getMockBuilder(StoreInterface::class)->getMock(); $this->store1 = $this->getMockBuilder(StoreInterface::class)->getMock();

View File

@ -22,7 +22,7 @@ class ConsensusStrategyTest extends TestCase
/** @var ConsensusStrategy */ /** @var ConsensusStrategy */
private $strategy; private $strategy;
public function setup() protected function setUp()
{ {
$this->strategy = new ConsensusStrategy(); $this->strategy = new ConsensusStrategy();
} }

View File

@ -22,7 +22,7 @@ class UnanimousStrategyTest extends TestCase
/** @var UnanimousStrategy */ /** @var UnanimousStrategy */
private $strategy; private $strategy;
public function setup() protected function setUp()
{ {
$this->strategy = new UnanimousStrategy(); $this->strategy = new UnanimousStrategy();
} }