mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
global storage-providers, notification channels and server providers (#247)
This commit is contained in:
@ -32,6 +32,7 @@ public function test_connect_provider(string $provider, array $input): void
|
||||
$this->assertDatabaseHas('server_providers', [
|
||||
'provider' => $provider,
|
||||
'profile' => 'profile',
|
||||
'project_id' => isset($input['global']) ? null : $this->user->current_project_id,
|
||||
]);
|
||||
}
|
||||
|
||||
@ -136,6 +137,13 @@ public static function data(): array
|
||||
'token' => 'token',
|
||||
],
|
||||
],
|
||||
[
|
||||
ServerProvider::LINODE,
|
||||
[
|
||||
'token' => 'token',
|
||||
'global' => 1,
|
||||
],
|
||||
],
|
||||
[
|
||||
ServerProvider::DIGITALOCEAN,
|
||||
[
|
||||
|
Reference in New Issue
Block a user