Reduce the amount of test data produced to prevent data generation errors

This commit is contained in:
Nabeel Shahzad
2018-01-21 13:51:42 -05:00
parent f09b3b888a
commit 0b9654cf61
3 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ class GeoTest extends TestCase
$geoSvc = app('\App\Services\GeoService');
$route = [];
$nav_count = random_int(10, 50);
$nav_count = random_int(5, 20);
$navpoints = factory(App\Models\Navdata::class, $nav_count)->create();
foreach ($navpoints as $point) {
$route[] = $point->id;