From 6a7c7392a471fed807aa438e043e469201691f0d Mon Sep 17 00:00:00 2001 From: Yann 'Ze' Richard Date: Fri, 5 Jul 2024 17:19:57 +0200 Subject: [PATCH] Fix(test): test if pwned is more than a known value instead of equal --- tests/units/PwnedPasswords.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/units/PwnedPasswords.php b/tests/units/PwnedPasswords.php index 9b726f4..4689360 100644 --- a/tests/units/PwnedPasswords.php +++ b/tests/units/PwnedPasswords.php @@ -80,13 +80,13 @@ public function testHowManyPwned() : void $i =0; $pass = 'coucoucestnous'; - $count = 6; + $count = 18; $i++; $this->assert(__METHOD__ . ' : test #' . $i) ->if($this->newTestedInstance()) ->then - ->integer($this->testedInstance->howManyPwned($pass))->isEqualTo($count) + ->integer($this->testedInstance->howManyPwned($pass))->isGreaterThan($count) ; }