Skip to content

Commit

Permalink
Merge branch '7.0' into 7.1
Browse files Browse the repository at this point in the history
* 7.0:
  fix tests
  • Loading branch information
xabbuh committed May 14, 2024
2 parents 0dc1831 + 7ef8f99 commit a66ecde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Hasher/NativePasswordHasherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
$this->markTestSkipped('password_hash() does not accept passwords containing NUL bytes.');
}

$this->assertTrue($hasher->verify($hash, $plainPassword));
$this->assertFalse($hasher->verify($hash, $plainPassword));
}

public function testPasswordNulByteGracefullyHandled()
Expand Down
2 changes: 1 addition & 1 deletion Tests/Hasher/SodiumPasswordHasherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
$this->markTestSkipped('password_hash() does not accept passwords containing NUL bytes.');
}

$this->assertTrue($hasher->verify($hash, $plainPassword));
$this->assertFalse($hasher->verify($hash, $plainPassword));
}

public function testPasswordNulByteGracefullyHandled()
Expand Down

0 comments on commit a66ecde

Please sign in to comment.