Skip to content

Commit 60cd621

Browse files
authored
remove setAccessible
1 parent 822a6d1 commit 60cd621

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/providers/class-two-factor-totp.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ public function test_sha512_authenticate() {
454454
*/
455455
private function call_pad_secret( $secret, $length ) {
456456
$method = new ReflectionMethod( 'Two_Factor_Totp', 'pad_secret' );
457-
$method->setAccessible( true );
458457
return $method->invoke( null, $secret, $length );
459458
}
460459

0 commit comments

Comments
 (0)