mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
drop mysql and redis and use sqlite for Vito itself to optimize the resources
This commit is contained in:
@ -28,7 +28,9 @@ public function test_see_server_keys()
|
||||
'public_key' => 'public-key-content',
|
||||
]);
|
||||
|
||||
$this->server->sshKeys()->attach($sshKey);
|
||||
$this->server->sshKeys()->attach($sshKey, [
|
||||
'status' => SshKeyStatus::ADDED,
|
||||
]);
|
||||
|
||||
Livewire::test(ServerKeysList::class, ['server' => $this->server])
|
||||
->assertSeeText('My first key');
|
||||
@ -46,7 +48,9 @@ public function test_delete_ssh_key()
|
||||
'public_key' => 'public-key-content',
|
||||
]);
|
||||
|
||||
$this->server->sshKeys()->attach($sshKey);
|
||||
$this->server->sshKeys()->attach($sshKey, [
|
||||
'status' => SshKeyStatus::ADDED,
|
||||
]);
|
||||
|
||||
Livewire::test(ServerKeysList::class, ['server' => $this->server])
|
||||
->set('deleteId', $sshKey->id)
|
||||
|
Reference in New Issue
Block a user