mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
drop dependency to bensampo/laravel-enum (#120)
This commit is contained in:
@ -14,7 +14,7 @@ public function definition(): array
|
||||
{
|
||||
return [
|
||||
'profile' => $this->faker->word(),
|
||||
'provider' => $this->faker->randomElement(\App\Enums\ServerProvider::getValues()),
|
||||
'provider' => $this->faker->randomElement(config('core.server_providers')),
|
||||
'credentials' => [],
|
||||
'connected' => 1,
|
||||
'user_id' => User::factory(),
|
||||
|
@ -11,7 +11,7 @@ public function definition(): array
|
||||
{
|
||||
return [
|
||||
'profile' => $this->faker->word(),
|
||||
'provider' => $this->faker->randomElement(\App\Enums\StorageProvider::getValues()),
|
||||
'provider' => $this->faker->randomElement(config('core.storage_providers')),
|
||||
'credentials' => [
|
||||
'token' => 'test-token',
|
||||
],
|
||||
|
Reference in New Issue
Block a user