We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3723fa7 commit 822a6d1Copy full SHA for 822a6d1
1 file changed
tests/class-two-factor-core.php
@@ -165,7 +165,6 @@ private function do_redirect_callable( $callback ) {
165
private function reset_profile_errors() {
166
$reflection = new ReflectionClass( Two_Factor_Core::class );
167
$prop = $reflection->getProperty( 'profile_errors' );
168
- $prop->setAccessible( true );
169
$prop->setValue( null, array() );
170
}
171
@@ -2371,7 +2370,6 @@ public function test_collect_auth_cookie_tokens() {
2371
2370
// but capture the original value so it can be restored afterward.
2372
2373
$prop = $reflection->getProperty( 'password_auth_tokens' );
2374
2375
$original_tokens = $prop->getValue( null );
2376
2377
try {
0 commit comments