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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user