mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
|
||||
namespace Tests\Unit\StorageProviders;
|
||||
|
||||
use App\Enums\StorageProvider;
|
||||
use App\Models\StorageProvider as StorageProviderModel;
|
||||
use App\StorageProviders\S3;
|
||||
use Aws\Command;
|
||||
@ -18,7 +17,7 @@ class S3Test extends TestCase
|
||||
public function test_s3_connect_successful(): void
|
||||
{
|
||||
$storageProvider = StorageProviderModel::factory()->create([
|
||||
'provider' => StorageProvider::S3,
|
||||
'provider' => S3::id(),
|
||||
'credentials' => [
|
||||
'api_url' => 'https://fake-bucket.s3.us-east-1.s3-compatible.com',
|
||||
'key' => 'fake-key',
|
||||
@ -62,7 +61,7 @@ public function test_s3_connect_successful(): void
|
||||
public function test_s3_connect_failure(): void
|
||||
{
|
||||
$storageProvider = StorageProviderModel::factory()->create([
|
||||
'provider' => StorageProvider::S3,
|
||||
'provider' => S3::id(),
|
||||
'credentials' => [
|
||||
'key' => 'fake-key',
|
||||
'secret' => 'fake-secret',
|
||||
|
Reference in New Issue
Block a user