File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
128128 $ this ->markTestSkipped ('password_hash() does not accept passwords containing NUL bytes. ' );
129129 }
130130
131- $ this ->assertTrue ($ hasher ->verify ($ hash , $ plainPassword ));
131+ $ this ->assertFalse ($ hasher ->verify ($ hash , $ plainPassword ));
132132 }
133133
134134 public function testPasswordNulByteGracefullyHandled ()
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
103103 $ this ->markTestSkipped ('password_hash() does not accept passwords containing NUL bytes. ' );
104104 }
105105
106- $ this ->assertTrue ($ hasher ->verify ($ hash , $ plainPassword ));
106+ $ this ->assertFalse ($ hasher ->verify ($ hash , $ plainPassword ));
107107 }
108108
109109 public function testPasswordNulByteGracefullyHandled ()
You can’t perform that action at this time.
0 commit comments