Fix and enable Subfleet/Fare tests and factories

This commit is contained in:
Nabeel Shahzad
2017-12-13 11:29:14 -06:00
parent 55250b8789
commit ab75ef7cf8
14 changed files with 126 additions and 352 deletions

View File

@@ -17,8 +17,6 @@ class FlightTest extends TestCase
public function addFlight()
{
$flight = factory(App\Models\Flight::class)->create();
# TODO: Add some subfleets in the setUp and assign the IDs here
$flight->subfleets()->syncWithoutDetaching([
factory(App\Models\Subfleet::class)->create()->id
]);