Fix for tests

This commit is contained in:
Hillel Coren 2016-06-07 14:41:07 +03:00
parent f4fcc81871
commit e47b3894cc

View File

@ -42,7 +42,6 @@ class UserTableSeeder extends Seeder
'primary_color' => $faker->hexcolor, 'primary_color' => $faker->hexcolor,
'timezone_id' => 1, 'timezone_id' => 1,
'company_id' => $company->id, 'company_id' => $company->id,
'is_admin' => 1,
]); ]);
$user = User::create([ $user = User::create([
@ -56,6 +55,7 @@ class UserTableSeeder extends Seeder
'confirmed' => true, 'confirmed' => true,
'notify_sent' => false, 'notify_sent' => false,
'notify_paid' => false, 'notify_paid' => false,
'is_admin' => 1,
]); ]);
$client = Client::create([ $client = Client::create([