Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  fix tests
  • Loading branch information
xabbuh committed May 14, 2024
2 parents 72cbd0b + 84f0b88 commit 95a9bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
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 95a9bd7

Please sign in to comment.