Return tests to passing now that we don't ignore a critical event...

This commit is contained in:
DaneEveritt 2022-05-29 17:52:14 -04:00
parent 09832cc558
commit 0621d8475d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
14 changed files with 44 additions and 60 deletions

View file

@ -4,6 +4,7 @@ namespace Database\Factories;
use Carbon\Carbon;
use Ramsey\Uuid\Uuid;
use Illuminate\Support\Str;
use Pterodactyl\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
@ -24,10 +25,10 @@ class UserFactory extends Factory
static $password;
return [
'external_id' => $this->faker->unique()->isbn10,
'external_id' => null,
'uuid' => Uuid::uuid4()->toString(),
'username' => $this->faker->unique()->userName,
'email' => $this->faker->unique()->safeEmail,
'email' => Str::random(32) . '@example.com',
'name_first' => $this->faker->firstName,
'name_last' => $this->faker->lastName,
'password' => $password ?: $password = bcrypt('password'),