Fix flight visibility for day

This commit is contained in:
Nabeel Shahzad
2018-07-13 07:43:27 -05:00
parent 4596ddae58
commit 26061deced
2 changed files with 2 additions and 1 deletions

View File

@@ -283,6 +283,7 @@ class FlightTest extends TestCase
'days' => Days::$isoDayMap[date('N')],
]);
// Not active because of days of week not today
$flight_not_active = factory(App\Models\Flight::class)->create([
'start_date' => Carbon\Carbon::now('UTC')->subDays(1),
'end_date' => Carbon\Carbon::now('UTC')->addDays(1),