removed all references to credits. now credits are completely replaced by addons.
This commit is contained in:
@@ -17,7 +17,6 @@ class TenantProfileApiTest extends TestCase
|
||||
$tenant = Tenant::factory()->create([
|
||||
'name' => 'Test Tenant GmbH',
|
||||
'slug' => 'test-tenant',
|
||||
'event_credits_balance' => 12,
|
||||
'features' => ['custom_branding' => true],
|
||||
]);
|
||||
|
||||
@@ -53,7 +52,6 @@ class TenantProfileApiTest extends TestCase
|
||||
$me->assertJsonFragment([
|
||||
'name' => 'Test Tenant GmbH',
|
||||
'slug' => 'test-tenant',
|
||||
'event_credits_balance' => 12,
|
||||
]);
|
||||
|
||||
$data = $me->json();
|
||||
@@ -69,7 +67,6 @@ class TenantProfileApiTest extends TestCase
|
||||
'id' => $tenant->id,
|
||||
'tenant_id' => $tenant->id,
|
||||
'name' => 'Test Tenant GmbH',
|
||||
'event_credits_balance' => 12,
|
||||
'fullName' => 'Max Mustermann',
|
||||
]);
|
||||
$legacy->assertJsonStructure([
|
||||
@@ -79,7 +76,6 @@ class TenantProfileApiTest extends TestCase
|
||||
'slug',
|
||||
'email',
|
||||
'fullName',
|
||||
'event_credits_balance',
|
||||
'active_reseller_package_id',
|
||||
'remaining_events',
|
||||
'package_expires_at',
|
||||
|
||||
Reference in New Issue
Block a user