Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2020-03-17 05:14:38 +00:00
committed by StyleCI Bot
parent 9fe479b141
commit ed3bbd76d7
75 changed files with 1285 additions and 1030 deletions

View File

@@ -19,8 +19,11 @@ class Version1079table extends Migration
DB::table('settings_system')->insert(['version' => $current_version]);
DB::table('common_settings')
->insert(
['option_name' => 'enable_rtl', 'option_value' => ''], ['option_name' => 'user_set_ticket_status', 'status' => 1], ['option_name' => 'send_otp', 'status' => 0], ['option_name' => 'email_mandatory', 'status' => 1]
);
['option_name' => 'enable_rtl', 'option_value' => ''],
['option_name' => 'user_set_ticket_status', 'status' => 1],
['option_name' => 'send_otp', 'status' => 0],
['option_name' => 'email_mandatory', 'status' => 1]
);
}
if (Schema::hasTable('common_settings')) {

View File

@@ -16,15 +16,15 @@ class UserSeeder extends Seeder
$str = 'demopass';
$password = \Hash::make($str);
$user = User::create([
'first_name' => 'Demo',
'last_name' => 'Admin',
'email' => null,
'user_name' => 'demo_admin',
'password' => $password,
'assign_group' => 1,
'primary_dpt' => 1,
'active' => 1,
'role' => 'admin',
'first_name' => 'Demo',
'last_name' => 'Admin',
'email' => null,
'user_name' => 'demo_admin',
'password' => $password,
'assign_group' => 1,
'primary_dpt' => 1,
'active' => 1,
'role' => 'admin',
]);
// checking if the user have been created
}