update all model factories

This commit is contained in:
Matthew Penner
2021-01-15 18:01:48 -07:00
parent c18e186589
commit d550d770da
18 changed files with 759 additions and 212 deletions

View File

@@ -2,6 +2,7 @@
namespace Database\Factories;
use Illuminate\Support\Str;
use Pterodactyl\Models\Location;
use Illuminate\Database\Eloquent\Factories\Factory;
@@ -21,6 +22,9 @@ class LocationFactory extends Factory
*/
public function definition(): array
{
return [];
return [
'short' => Str::random(8),
'long' => Str::random(32),
];
}
}