Fix auth form errors and redirects: Add React keys/useEffects for error rendering and scroll, Inertia::location in controllers for SPA navigation, extend RegistrationTest and add E2E. Update docs (changes/2025-10-02-registration-fixes.md, prp/13-backend-authentication.md). Add new UI components (accordion, carousel, progress, table, tabs), marketing/legal pages (Blog, Kontakt, Datenschutz, etc.), fonts, user migration (remove_name), views/css/package updates, seeders/factories.

This commit is contained in:
Codex Agent
2025-10-02 11:40:48 +02:00
parent 1945f664c6
commit 7475210893
101 changed files with 3406 additions and 376 deletions

View File

@@ -22,7 +22,6 @@ class RegistrationTest extends TestCase
$freePackage = Package::factory()->create(['price' => 0]);
$response = $this->post(route('register.store'), [
'name' => 'Test User',
'username' => 'testuser',
'email' => 'test@example.com',
'password' => 'password',
@@ -62,7 +61,6 @@ class RegistrationTest extends TestCase
public function test_registration_without_package()
{
$response = $this->post(route('register.store'), [
'name' => 'Test User',
'username' => 'testuser2',
'email' => 'test2@example.com',
'password' => 'password',
@@ -86,7 +84,6 @@ class RegistrationTest extends TestCase
public function test_registration_validation_fails()
{
$response = $this->post(route('register.store'), [
'name' => '',
'username' => '',
'email' => 'invalid',
'password' => 'short',
@@ -99,7 +96,7 @@ class RegistrationTest extends TestCase
]);
$response->assertSessionHasErrors([
'name', 'username', 'email', 'password', 'first_name', 'last_name', 'address', 'phone', 'privacy_consent',
'username', 'email', 'password', 'first_name', 'last_name', 'address', 'phone', 'privacy_consent',
]);
}
@@ -110,7 +107,6 @@ class RegistrationTest extends TestCase
$freePackage = Package::factory()->create(['price' => 0]);
$response = $this->post(route('register.store'), [
'name' => 'Test User',
'username' => 'testuser3',
'email' => 'test3@example.com',
'password' => 'password',