Skip to content

Commit 33e78ea

Browse files
Valouleloupnicolas-grekas
authored andcommitted
Fix lock strategy tests
1 parent 9852ae3 commit 33e78ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Strategy/ConsensusStrategyTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function testMet($success, $failure, $total, $isMet)
8282
/**
8383
* @dataProvider provideIndeterminate
8484
*/
85-
public function canBeMet($success, $failure, $total, $isMet)
85+
public function testCanBeMet($success, $failure, $total, $isMet)
8686
{
8787
$this->assertSame($isMet, $this->strategy->canBeMet($failure, $total));
8888
}

Tests/Strategy/UnanimousStrategyTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function testMet($success, $failure, $total, $isMet)
8282
/**
8383
* @dataProvider provideIndeterminate
8484
*/
85-
public function canBeMet($success, $failure, $total, $isMet)
85+
public function testCanBeMet($success, $failure, $total, $isMet)
8686
{
8787
$this->assertSame($isMet, $this->strategy->canBeMet($failure, $total));
8888
}

0 commit comments

Comments
 (0)