From 6fa724d7b71c939cee09bf8ccd43fc191ff89c74 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 17 Mar 2018 18:45:18 -0500 Subject: [PATCH] Reduce the number of flights created in tests to reduce collisions --- tests/FlightTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/FlightTest.php b/tests/FlightTest.php index d1cee7db..43c878f0 100644 --- a/tests/FlightTest.php +++ b/tests/FlightTest.php @@ -121,7 +121,7 @@ class FlightTest extends TestCase public function testFlightSearchApi() { $this->user = factory(App\Models\User::class)->create(); - $flights = factory(App\Models\Flight::class, 20)->create([ + $flights = factory(App\Models\Flight::class, 10)->create([ 'airline_id' => $this->user->airline_id ]);