some test changes
This commit is contained in:
10
database/factories/FlightFactory.php
Normal file
10
database/factories/FlightFactory.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
$factory->define(App\Models\Flight::class, function (Faker\Generator $faker) {
|
||||
return [
|
||||
'code' => 'Y',
|
||||
'name' => 'Economy',
|
||||
'price' => '100',
|
||||
'capacity' => '200',
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user