mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
#591 - tests
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use Tests\TestCase;
|
||||
|
||||
class StorageProvidersTest extends TestCase
|
||||
@ -18,9 +19,8 @@ class StorageProvidersTest extends TestCase
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $input
|
||||
*
|
||||
* @dataProvider createData
|
||||
*/
|
||||
#[DataProvider('createData')]
|
||||
public function test_create(array $input): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
@ -104,8 +104,6 @@ public function test_cannot_delete_provider(): void
|
||||
}
|
||||
|
||||
/**
|
||||
* @TODO: complete FTP tests
|
||||
*
|
||||
* @return array<int, mixed>
|
||||
*/
|
||||
public static function createData(): array
|
||||
|
Reference in New Issue
Block a user