Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
9fe479b141
commit
ed3bbd76d7
@@ -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')) {
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user