29 lines
593 B
PHP
29 lines
593 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\IntegrationSetting;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<IntegrationSetting>
|
|
*/
|
|
class IntegrationSettingFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'provider' => 'bambuddy',
|
|
'settings' => [
|
|
'url' => 'https://bambuddy.example.test',
|
|
'api_key' => 'example-api-key',
|
|
],
|
|
];
|
|
}
|
|
}
|