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 @@ -129,7 +129,7 @@ public function testBcryptWithNulByteWithNativePasswordHash()
129
129
$ this ->markTestSkipped ('password_hash() does not accept passwords containing NUL bytes. ' );
130
130
}
131
131
132
- $ this ->assertTrue ($ hasher ->verify ($ hash , $ plainPassword ));
132
+ $ this ->assertFalse ($ hasher ->verify ($ hash , $ plainPassword ));
133
133
}
134
134
135
135
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