8000 Fix lock strategy tests · symfony/symfony@afbb8be · GitHub
[go: up one dir, main page]

Skip to content

Commit afbb8be

Browse files
Valouleloupnicolas-grekas
authored andcommitted
Fix lock strategy tests
1 parent 18510f8 commit afbb8be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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
}

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

Lines changed: 1 addition & 1 deletion
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)
0