Checkout: minimize registration data
This commit is contained in:
@@ -26,14 +26,11 @@ class FullUserFlowTest extends TestCase
|
||||
$freePackage = Package::factory()->endcustomer()->create(['price' => 0]);
|
||||
|
||||
$registrationData = [
|
||||
'username' => 'flowuser',
|
||||
'email' => 'flow@example.com',
|
||||
'password' => 'Password123!',
|
||||
'password_confirmation' => 'Password123!',
|
||||
'first_name' => 'Max',
|
||||
'last_name' => 'Mustermann',
|
||||
'address' => 'Musterstr. 1',
|
||||
'phone' => '+49123456789',
|
||||
'privacy_consent' => true,
|
||||
'terms' => true,
|
||||
'package_id' => $freePackage->id,
|
||||
@@ -132,14 +129,11 @@ class FullUserFlowTest extends TestCase
|
||||
// Schritt 1: Fehlgeschlagene Registrierung (kein Consent)
|
||||
$response = $this->post('/de/register', [
|
||||
'name' => 'Error User',
|
||||
'username' => 'erroruser',
|
||||
'email' => 'error@example.com',
|
||||
'password' => 'Password123!',
|
||||
'password_confirmation' => 'Password123!',
|
||||
'first_name' => 'Max',
|
||||
'last_name' => 'Mustermann',
|
||||
'address' => 'Musterstr. 1',
|
||||
'phone' => '+49123456789',
|
||||
'privacy_consent' => false,
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user