Add more location tests, more travis CI fix attempts

This commit is contained in:
Dane Everitt 2017-06-16 00:29:19 -05:00
parent 579cc86910
commit a527949939
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 77 additions and 14 deletions

View file

@ -38,3 +38,22 @@ $factory->define(Pterodactyl\Models\Location::class, function (Faker\Generator $
'long' => $faker->catchPhrase,
];
});
$factory->define(Pterodactyl\Models\Node::class, function (Faker\Generator $faker) {
return [
'public' => true,
'name' => $faker->firstName,
'fqdn' => $faker->ipv4,
'scheme' => 'http',
'behind_proxy' => false,
'memory' => 1024,
'memory_overallocate' => 0,
'disk' => 10240,
'disk_overallocate' => 0,
'upload_size' => 100,
'daemonSecret' => $faker->uuid,
'daemonListen' => 8080,
'daemonSFTP' => 2022,
'daemonBase' => '/srv/daemon',
];
});