Update some server service tests

This commit is contained in:
Dane Everitt 2020-06-24 22:18:48 -07:00
parent 83a59cdf4f
commit b55767426f
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 117 additions and 165 deletions

View file

@ -310,8 +310,6 @@ class ServerCreationService
return $allocation->node_id;
}
/** @noinspection PhpDocMissingThrowsInspection */
/**
* Create a unique UUID and UUID-Short combo for a server.
*
@ -319,7 +317,6 @@ class ServerCreationService
*/
private function generateUniqueUuidCombo(): string
{
/** @noinspection PhpUnhandledExceptionInspection */
$uuid = Uuid::uuid4()->toString();
if (! $this->repository->isUniqueUuidCombo($uuid, substr($uuid, 0, 8))) {