feat: Phase 2 - admin layout, dashboard, page CRUD, subscribers, user management

This commit is contained in:
2026-04-03 20:09:20 +02:00
parent 904cf1241b
commit 78e1be3e3b
27 changed files with 404 additions and 33 deletions

View File

@@ -17,7 +17,7 @@ class PasswordUpdateTest extends TestCase
$response = $this
->actingAs($user)
->from('/profile')
->from('/admin/profile')
->put('/password', [
'current_password' => 'password',
'password' => 'new-password',
@@ -26,7 +26,7 @@ class PasswordUpdateTest extends TestCase
$response
->assertSessionHasNoErrors()
->assertRedirect('/profile');
->assertRedirect('/admin/profile');
$this->assertTrue(Hash::check('new-password', $user->refresh()->password));
}
@@ -37,7 +37,7 @@ class PasswordUpdateTest extends TestCase
$response = $this
->actingAs($user)
->from('/profile')
->from('/admin/profile')
->put('/password', [
'current_password' => 'wrong-password',
'password' => 'new-password',
@@ -46,6 +46,6 @@ class PasswordUpdateTest extends TestCase
$response
->assertSessionHasErrorsIn('updatePassword', 'current_password')
->assertRedirect('/profile');
->assertRedirect('/admin/profile');
}
}