Summer Sale! All accounts are 50% off this week.

Winger15mk's avatar

Testing Jetstream Livewire Password Confirmation

Hello all, I am currently writing a test on a Livewire component through jetstream which makes use of the password confirmation built within it. All works fine within the component functionality but I have an issue where the test is failing due to the use of $this->ensurePasswordIsConfirmed() of which is recommended to be added to the classes method as an additional check. The test passes when I comment this out in the class so it is as if the Livewire test cannot bypass this.

Any ideas as to how this should be handled please?

0 likes
0 replies

Please or to participate in this conversation.