diff --git a/stubs/inertia-common/pest-tests/Feature/Auth/PasswordUpdateTest.php b/stubs/inertia-common/pest-tests/Feature/Auth/PasswordUpdateTest.php index 4de944ec4..96929b2c4 100644 --- a/stubs/inertia-common/pest-tests/Feature/Auth/PasswordUpdateTest.php +++ b/stubs/inertia-common/pest-tests/Feature/Auth/PasswordUpdateTest.php @@ -8,7 +8,8 @@ $response = $this ->actingAs($user) - ->patch('/profile', [ + ->from('/profile') + ->put('/password', [ 'current_password' => 'password', 'password' => 'new-password', 'password_confirmation' => 'new-password', @@ -27,7 +28,7 @@ $response = $this ->actingAs($user) ->from('/profile') - ->patch('/profile', [ + ->put('/password', [ 'current_password' => 'wrong-password', 'password' => 'new-password', 'password_confirmation' => 'new-password',