Fix for API key and start adding a few data factories

This commit is contained in:
Nabeel Shahzad
2017-12-12 20:14:01 -06:00
parent da5523e972
commit b5d2e1ba11
8 changed files with 140 additions and 16 deletions

View File

@@ -1,5 +1,8 @@
<?php
$factory->define(App\Models\Airport::class, function (Faker\Generator $faker) {
use Faker\Generator as Faker;
$factory->define(App\Models\Airport::class, function (Faker $faker) {
return [
'code' => 'Y',
'name' => 'Economy',