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
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
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();