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 08ea87b + c96cca5 commit a797985
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 @@ -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
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 a797985

Please sign in to comment.