1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 00:53:10 +01:00

Limit random test fonts

This commit is contained in:
Hillel Coren 2016-05-05 22:32:26 +03:00
parent 379e9ff2f8
commit 296d75bb1b

View File

@ -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,