First push before 🥚
This commit is contained in:
parent
0b3c0f6d5a
commit
344c1a9885
11 changed files with 36 additions and 158 deletions
|
@ -91,12 +91,10 @@ $factory->define(Pterodactyl\Models\Node::class, function (Faker\Generator $fake
|
|||
$factory->define(Pterodactyl\Models\Service::class, function (Faker\Generator $faker) {
|
||||
return [
|
||||
'id' => $faker->unique()->randomNumber(),
|
||||
'author' => $faker->unique()->uuid,
|
||||
'uuid' => $faker->unique()->uuid,
|
||||
'author' => 'testauthor@example.com',
|
||||
'name' => $faker->word,
|
||||
'description' => null,
|
||||
'folder' => strtolower($faker->unique()->word),
|
||||
'startup' => 'java -jar test.jar',
|
||||
'index_file' => 'indexjs',
|
||||
];
|
||||
});
|
||||
|
||||
|
@ -108,7 +106,6 @@ $factory->define(Pterodactyl\Models\ServiceOption::class, function (Faker\Genera
|
|||
'name' => $faker->name,
|
||||
'description' => implode(' ', $faker->sentences(3)),
|
||||
'startup' => 'java -jar test.jar',
|
||||
'tag' => 'test@testfactory.com:' . $faker->unique()->randomNumber(8),
|
||||
];
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue