completed story 1.1 with QA tests and fixes

This commit is contained in:
Naser Mansour
2025-12-26 13:46:39 +02:00
parent 028ce573b9
commit 84d9c2f66a
57 changed files with 2193 additions and 85 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ test('profile information can be updated', function () {
$this->actingAs($user);
$response = Volt::test('settings.profile')
->set('name', 'Test User')
->set('full_name', 'Test User')
->set('email', 'test@example.com')
->call('updateProfileInformation');
@@ -23,7 +23,7 @@ test('profile information can be updated', function () {
$user->refresh();
expect($user->name)->toEqual('Test User');
expect($user->full_name)->toEqual('Test User');
expect($user->email)->toEqual('test@example.com');
expect($user->email_verified_at)->toBeNull();
});
@@ -34,7 +34,7 @@ test('email verification status is unchanged when email address is unchanged', f
$this->actingAs($user);
$response = Volt::test('settings.profile')
->set('name', 'Test User')
->set('full_name', 'Test User')
->set('email', $user->email)
->call('updateProfileInformation');
@@ -72,4 +72,4 @@ test('correct password must be provided to delete account', function () {
$response->assertHasErrors(['password']);
expect($user->fresh())->not->toBeNull();
});
});