mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-29 19:43:43 +02:00
update tests to use new factories
This commit is contained in:
@@ -23,7 +23,7 @@ class NodeFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'uuid' => Uuid::uuid4()->toString(),
|
||||
'uuid' => $this->faker->unique()->uuid,
|
||||
'public' => true,
|
||||
'name' => $this->faker->firstName,
|
||||
'fqdn' => $this->faker->ipv4,
|
||||
|
||||
@@ -26,7 +26,7 @@ class UserFactory extends Factory
|
||||
|
||||
return [
|
||||
'external_id' => $this->faker->unique()->isbn10,
|
||||
'uuid' => $this->faker->uuid,
|
||||
'uuid' => $this->faker->unique()->uuid,
|
||||
'username' => $this->faker->userName,
|
||||
'email' => $this->faker->safeEmail,
|
||||
'name_first' => $this->faker->firstName,
|
||||
|
||||
Reference in New Issue
Block a user