From 296d75bb1b7d52b1af055e3618302da449d50774 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 5 May 2016 22:32:26 +0300 Subject: [PATCH] Limit random test fonts --- database/seeds/UserTableSeeder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/seeds/UserTableSeeder.php b/database/seeds/UserTableSeeder.php index 2ce3eef998..dbaba660b7 100644 --- a/database/seeds/UserTableSeeder.php +++ b/database/seeds/UserTableSeeder.php @@ -34,8 +34,8 @@ class UserTableSeeder extends Seeder 'work_phone' => $faker->phoneNumber, 'work_email' => $faker->safeEmail, 'invoice_design_id' => min(InvoiceDesign::all()->random()->id, 10), - 'header_font_id' => Font::all()->random()->id, - 'body_font_id' => Font::all()->random()->id, + 'header_font_id' => min(Font::all()->random()->id, 17), + 'body_font_id' => min(Font::all()->random()->id, 17), 'primary_color' => $faker->hexcolor, 'timezone_id' => 1, 'company_id' => $company->id,