cleanup new factories

This commit is contained in:
Matthew Penner
2021-01-15 19:15:41 -07:00
parent 4ac49fbfb3
commit 4f83a894a3
3 changed files with 7 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
namespace Database\Factories;
use Carbon\Carbon;
use Illuminate\Support\Str;
use Pterodactyl\Models\Server;
use Illuminate\Database\Eloquent\Factories\Factory;
@@ -24,7 +25,7 @@ class ServerFactory extends Factory
{
return [
'uuid' => $this->faker->unique()->uuid,
'uuidShort' => str_random(8),
'uuidShort' => Str::random(8),
'name' => $this->faker->firstName,
'description' => implode(' ', $this->faker->sentences()),
'skip_scripts' => 0,