Reduce the number of flights created in tests to reduce collisions
This commit is contained in:
parent
02a6d0d056
commit
6fa724d7b7
@ -121,7 +121,7 @@ class FlightTest extends TestCase
|
|||||||
public function testFlightSearchApi()
|
public function testFlightSearchApi()
|
||||||
{
|
{
|
||||||
$this->user = factory(App\Models\User::class)->create();
|
$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
|
'airline_id' => $this->user->airline_id
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user