Fixes for CI/CD
This commit is contained in:
@@ -24,8 +24,6 @@ class AccountFactory extends Factory
|
||||
{
|
||||
// Create Dependencies - should be loaded by seeding.
|
||||
$co = Country::findOrFail(61);
|
||||
$lo = Language::findOrFail(1);
|
||||
$cyo = Currency::findOrFail(6);
|
||||
|
||||
return [
|
||||
'id' => $this->faker->numberBetween(2048,65535),
|
||||
@@ -33,10 +31,8 @@ class AccountFactory extends Factory
|
||||
// 'date_last',
|
||||
//* 'site_id', // Needs to be passed in
|
||||
// 'date_expire',
|
||||
'language_id' => $lo->id,
|
||||
'country_id' => $co->id,
|
||||
// 'rtm_id',
|
||||
'currency_id' => $cyo->id,
|
||||
'active' => TRUE,
|
||||
// 'company',
|
||||
// 'address1',
|
||||
|
@@ -36,11 +36,12 @@ class ProductFactory extends Factory
|
||||
// 'group_avail'
|
||||
// 'avail_category'
|
||||
// 'price_type'
|
||||
'price_group'=>serialize([
|
||||
1=>[
|
||||
0=>[
|
||||
'price_setup'=>50,
|
||||
'price_base'=>100,
|
||||
'pricing'=>json_encode([
|
||||
[
|
||||
'show'=>true,
|
||||
[
|
||||
'setup'=>50,
|
||||
'base'=>100,
|
||||
]
|
||||
]
|
||||
]),
|
||||
|
@@ -65,7 +65,7 @@ class ServiceFactory extends Factory
|
||||
// 'orderedby_id',
|
||||
// 'order_status',
|
||||
// 'order_info',
|
||||
'model' => 'App\Models\Service\Adsl',
|
||||
'model' => 'App\Models\Service\Broadband',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user