implement user profile settings

This commit is contained in:
2026-05-01 01:07:58 +03:30
parent ff86141fd6
commit bcf9b9e47c
9 changed files with 186 additions and 21 deletions

View File

@@ -2,10 +2,13 @@
use App\Livewire\Settings\Security;
use App\Models\User;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Support\Facades\Hash;
use Laravel\Fortify\Features;
use Livewire\Livewire;
uses(LazilyRefreshDatabase::class);
beforeEach(function () {
$this->skipUnlessFortifyHas(Features::twoFactorAuthentication());
@@ -102,4 +105,4 @@ test('correct password must be provided to update password', function () {
->call('updatePassword');
$response->assertHasErrors(['current_password']);
});
});