Add test coverage for reinstall & server renaming

This commit is contained in:
Dane Everitt
2020-06-28 10:40:41 -07:00
parent 4cb4dfecc8
commit 63bc4080d5
3 changed files with 131 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ class ReinstallServerService
return $this->connection->transaction(function () use ($server) {
$updated = $this->repository->update($server->id, [
'installed' => Server::STATUS_INSTALLING,
]);
], true, true);
$this->daemonServerRepository->setServer($server)->reinstall();