From afbb8bec18bde61de24516a644a4e304c478360b Mon Sep 17 00:00:00 2001 From: Valouleloup Date: Sat, 3 Feb 2018 17:30:37 +0100 Subject: [PATCH] Fix lock strategy tests --- .../Component/Lock/Tests/Strategy/ConsensusStrategyTest.php | 2 +- .../Component/Lock/Tests/Strategy/UnanimousStrategyTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php b/src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php index 09215f9a94..87e83a9925 100644 --- a/src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php +++ b/src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php @@ -82,7 +82,7 @@ class ConsensusStrategyTest extends TestCase /** * @dataProvider provideIndeterminate */ - public function canBeMet($success, $failure, $total, $isMet) + public function testCanBeMet($success, $failure, $total, $isMet) { $this->assertSame($isMet, $this->strategy->canBeMet($failure, $total)); } diff --git a/src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php b/src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php index 76ea68a41e..beff54a685 100644 --- a/src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php +++ b/src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php @@ -82,7 +82,7 @@ class UnanimousStrategyTest extends TestCase /** * @dataProvider provideIndeterminate */ - public function canBeMet($success, $failure, $total, $isMet) + public function testCanBeMet($success, $failure, $total, $isMet) { $this->assertSame($isMet, $this->strategy->canBeMet($failure, $total)); }