Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  fix tests
  • Loading branch information
xabbuh committed May 14, 2024
2 parents c6585f5 + 436839a commit 7ef8f99
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 @@ -128,7 +128,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 7ef8f99

Please sign in to comment.