mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
local storage driver & some icon fixes (#187)
This commit is contained in:
@ -88,4 +88,20 @@ public function test_cannot_delete_provider(): void
|
||||
'id' => $provider->id,
|
||||
]);
|
||||
}
|
||||
|
||||
public function test_create_local_driver(): void
|
||||
{
|
||||
$this->actingAs($this->user);
|
||||
|
||||
$this->post(route('settings.storage-providers.connect'), [
|
||||
'provider' => StorageProvider::LOCAL,
|
||||
'name' => 'profile',
|
||||
'path' => '/home/vito/backups',
|
||||
])->assertSessionDoesntHaveErrors();
|
||||
|
||||
$this->assertDatabaseHas('storage_providers', [
|
||||
'provider' => StorageProvider::LOCAL,
|
||||
'profile' => 'profile',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user