mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -2,11 +2,12 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\StorageProvider;
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<\App\Models\StorageProvider>
|
||||
* @extends Factory<StorageProvider>
|
||||
*/
|
||||
class StorageProviderFactory extends Factory
|
||||
{
|
||||
@ -14,7 +15,7 @@ public function definition(): array
|
||||
{
|
||||
return [
|
||||
'profile' => $this->faker->word(),
|
||||
'provider' => $this->faker->randomElement(config('core.storage_providers')),
|
||||
'provider' => $this->faker->randomElement(array_keys(config('storage-provider.providers'))),
|
||||
'credentials' => [
|
||||
'token' => 'test-token',
|
||||
],
|
||||
|
Reference in New Issue
Block a user