TenantAtlas/apps/platform/database/factories/TenantConfigurationSupportedScopeFactory.php
Ahmed Darrazi 611b19910e
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 4m27s
feat: migrate tcm first coverage core cutover
2026-06-25 14:54:31 +02:00

34 lines
1014 B
PHP

<?php
declare(strict_types=1);
namespace Database\Factories;
use App\Models\TenantConfigurationSupportedScope;
use App\Support\TenantConfiguration\CoverageLevel;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<TenantConfigurationSupportedScope>
*/
class TenantConfigurationSupportedScopeFactory extends Factory
{
protected $model = TenantConfigurationSupportedScope::class;
public function definition(): array
{
return [
'scope_key' => fake()->unique()->slug(),
'display_name' => fake()->words(3, true),
'description' => fake()->sentence(),
'minimum_coverage_level' => CoverageLevel::ContentBacked->value,
'included_resource_types' => [],
'allow_beta' => false,
'allow_graph_fallback' => false,
'customer_claims_allowed' => false,
'is_active' => true,
'metadata' => ['factory' => 'tenant_configuration_supported_scope'],
];
}
}