fixed usage of setUp in tests
This commit is contained in:
parent
e170d940d8
commit
298782841c
@ -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();
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user