File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Symfony/Component/PasswordHasher/Tests/Hasher 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()
128
128
$ this ->markTestSkipped ('password_hash() does not accept passwords containing NUL bytes. ' );
129
129
}
130
130
131
- $ this ->assertTrue ($ hasher ->verify ($ hash , $ plainPassword ));
131
+ $ this ->assertFalse ($ hasher ->verify ($ hash , $ plainPassword ));
132
132
}
133
133
134
134
public function testPasswordNulByteGracefullyHandled ()
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
103
103
$ this ->markTestSkipped ('password_hash() does not accept passwords containing NUL bytes. ' );
104
104
}
105
105
106
- $ this ->assertTrue ($ hasher ->verify ($ hash , $ plainPassword ));
106
+ $ this ->assertFalse ($ hasher ->verify ($ hash , $ plainPassword ));
107
107
}
108
108
109
109
public function testPasswordNulByteGracefullyHandled ()
You can’t perform that action at this time.
0 commit comments