Refactor all of the unit conversion code
This commit is contained in:
@@ -21,9 +21,11 @@ trait TestData
|
||||
]);
|
||||
|
||||
// Return a Pirep model
|
||||
return factory(\App\Models\Pirep::class)->make([
|
||||
$pirep = factory(\App\Models\Pirep::class)->make([
|
||||
'aircraft_id' => $subfleet['aircraft']->random()->id
|
||||
]);
|
||||
|
||||
return $pirep;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user