removed all references to credits. now credits are completely replaced by addons.
This commit is contained in:
@@ -20,7 +20,6 @@ class TenantFactory extends Factory
|
||||
'name' => $name,
|
||||
'slug' => $slug,
|
||||
'contact_email' => $contactEmail,
|
||||
'event_credits_balance' => $this->faker->numberBetween(1, 20),
|
||||
'subscription_tier' => $this->faker->randomElement(['free', 'starter', 'pro']),
|
||||
'subscription_expires_at' => $this->faker->dateTimeBetween('now', '+1 year'),
|
||||
'is_active' => true,
|
||||
@@ -62,9 +61,6 @@ class TenantFactory extends Factory
|
||||
|
||||
public function withLowCredits(): static
|
||||
{
|
||||
return $this->state(fn (array $attributes) => [
|
||||
'event_credits_balance' => 1,
|
||||
]);
|
||||
return $this->state(fn (array $attributes) => $attributes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user