Skip to content

Commit 6a7c739

Browse files
authored
Fix(test): test if pwned is more than a known value instead of equal
1 parent 4eca7cf commit 6a7c739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/units/PwnedPasswords.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ public function testHowManyPwned() : void
8080
$i =0;
8181

8282
$pass = 'coucoucestnous';
83-
$count = 6;
83+
$count = 18;
8484

8585
$i++;
8686
$this->assert(__METHOD__ . ' : test #' . $i)
8787
->if($this->newTestedInstance())
8888
->then
89-
->integer($this->testedInstance->howManyPwned($pass))->isEqualTo($count)
89+
->integer($this->testedInstance->howManyPwned($pass))->isGreaterThan($count)
9090
;
9191
}
9292

0 commit comments

Comments
 (0)