mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -21,7 +21,7 @@ public function test_install_vito_agent(): void
|
||||
'https://api.github.com/repos/vitodeploy/agent/tags' => Http::response([['name' => '0.1.0']]),
|
||||
]);
|
||||
|
||||
$this->server->monitoring()->delete();
|
||||
$this->server->monitoring()?->delete();
|
||||
|
||||
app(Install::class)->install($this->server, [
|
||||
'type' => 'monitoring',
|
||||
@ -40,7 +40,7 @@ public function test_install_vito_agent(): void
|
||||
|
||||
public function test_install_vito_agent_failed(): void
|
||||
{
|
||||
$this->server->monitoring()->delete();
|
||||
$this->server->monitoring()?->delete();
|
||||
$this->expectExceptionMessage('Failed to fetch tags');
|
||||
SSH::fake('Active: inactive');
|
||||
Http::fake([
|
||||
|
Reference in New Issue
Block a user