From f260ba722f05dc781e27d43f42675f38d6ccf3e8 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 24 Nov 2024 17:54:31 +0100 Subject: [PATCH] reduce accepted unicity down to 80% --- tests/Fixtures/PeriodTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Fixtures/PeriodTest.php b/tests/Fixtures/PeriodTest.php index ab36dae..94bba86 100644 --- a/tests/Fixtures/PeriodTest.php +++ b/tests/Fixtures/PeriodTest.php @@ -52,7 +52,7 @@ public function testAnyNumberOfYear() $generated[] = $value->years(); } - $this->assertGreaterThan(90, \count(\array_unique($generated))); + $this->assertGreaterThan(80, \count(\array_unique($generated))); } public function testLessThanAYear() @@ -87,6 +87,6 @@ public function testLessThanAYear() } } - $this->assertGreaterThan(90, \count($unique)); + $this->assertGreaterThan(80, \count($unique)); } }