@@ -437,7 +437,6 @@ public function it_returns_passkey_method_when_config_is_false_and_user_has_pass
437437 // Use reflection to set the passkeys property
438438 $ reflection = new \ReflectionClass ($ user );
439439 $ property = $ reflection ->getProperty ('passkeys ' );
440- $ property ->setAccessible (true );
441440 $ property ->setValue ($ user , $ mockCollection );
442441
443442 $ this ->assertEquals ('passkey ' , $ user ->getElevatedSessionMethod ());
@@ -456,7 +455,6 @@ public function it_returns_password_confirmation_method_when_config_is_true_even
456455 // Use reflection to set the passkeys property
457456 $ reflection = new \ReflectionClass ($ user );
458457 $ property = $ reflection ->getProperty ('passkeys ' );
459- $ property ->setAccessible (true );
460458 $ property ->setValue ($ user , $ mockCollection );
461459
462460 $ this ->assertEquals ('password_confirmation ' , $ user ->getElevatedSessionMethod ());
@@ -493,7 +491,6 @@ public function it_can_get_passkey_options_for_elevated_session()
493491 // Use reflection to set the passkeys property
494492 $ reflection = new \ReflectionClass ($ user );
495493 $ property = $ reflection ->getProperty ('passkeys ' );
496- $ property ->setAccessible (true );
497494 $ property ->setValue ($ user , $ mockCollection );
498495
499496 $ response = $ this
@@ -520,7 +517,6 @@ public function it_can_start_elevated_session_with_passkey()
520517 // Use reflection to set the passkeys property
521518 $ reflection = new \ReflectionClass ($ user );
522519 $ property = $ reflection ->getProperty ('passkeys ' );
523- $ property ->setAccessible (true );
524520 $ property ->setValue ($ user , $ mockCollection );
525521
526522 $ credentials = [
@@ -556,7 +552,6 @@ public function status_endpoint_returns_passkey_method()
556552 // Use reflection to set the passkeys property
557553 $ reflection = new \ReflectionClass ($ user );
558554 $ property = $ reflection ->getProperty ('passkeys ' );
559- $ property ->setAccessible (true );
560555 $ property ->setValue ($ user , $ mockCollection );
561556
562557 $ this
0 commit comments