Add tests for service option services

This commit is contained in:
Dane Everitt 2017-08-12 16:30:27 -05:00
parent b8d7d99096
commit 364adb1f84
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 475 additions and 7 deletions

View file

@ -88,6 +88,16 @@ $factory->define(Pterodactyl\Models\Node::class, function (Faker\Generator $fake
];
});
$factory->define(Pterodactyl\Models\ServiceOption::class, function (Faker\Generator $faker) {
return [
'id' => $faker->unique()->randomNumber(),
'service_id' => $faker->unique()->randomNumber(),
'name' => $faker->name,
'description' => $faker->sentences(3),
'tag' => $faker->unique()->randomNumber(5),
];
});
$factory->define(Pterodactyl\Models\ServiceVariable::class, function (Faker\Generator $faker) {
return [
'id' => $faker->unique()->randomNumber(),