fixed missing contact_email from registration

This commit is contained in:
Codex Agent
2025-12-22 17:54:42 +01:00
parent 1eda29cfce
commit c8f0f880d2
5 changed files with 5 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ class RegistrationTest extends TestCase
$this->assertDatabaseHas('users', ['email' => 'test@example.com']);
$this->assertDatabaseHas('tenants', [
'user_id' => User::latest()->first()->id,
'contact_email' => 'test@example.com',
]);
}

View File

@@ -178,6 +178,7 @@ class CheckoutAuthTest extends TestCase
$this->assertDatabaseHas('tenants', [
'email' => 'test@example.com',
'contact_email' => 'test@example.com',
]);
$this->assertDatabaseHas('tenant_packages', [