global storage-providers, notification channels and server providers (#247)

This commit is contained in:
Saeed Vaziry
2024-06-29 12:52:03 +03:30
committed by GitHub
parent ad027eb033
commit 11e3b167cc
44 changed files with 678 additions and 77 deletions

View File

@ -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,
[