create(); Sanctum::actingAs($user); $this->postJson('/api/user/password', [ 'current_password' => 'secret', 'password' => 'VerySecretPassword', 'password_confirmation' => 'VerySecretPassword', ])->assertStatus(204); // TODO: login s novym heslom } }