Update NodeFactory.php

This commit is contained in:
DaneEveritt 2022-06-26 21:00:19 -04:00
parent 80ae600fe1
commit 446562fcff
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -25,7 +25,7 @@ class NodeFactory extends Factory
return [ return [
'uuid' => Uuid::uuid4()->toString(), 'uuid' => Uuid::uuid4()->toString(),
'public' => true, 'public' => true,
'name' => $this->faker->unique()->firstName, 'name' => 'FactoryNode_' . Str::random(10),
'fqdn' => $this->faker->unique()->ipv4, 'fqdn' => $this->faker->unique()->ipv4,
'scheme' => 'http', 'scheme' => 'http',
'behind_proxy' => false, 'behind_proxy' => false,