Normalise usage of Model into Model::class strings

This commit is contained in:
2023-05-05 16:29:08 +10:00
parent 820ff2be00
commit dc74a064ba
9 changed files with 18 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ class GroupFactory extends Factory
// 'date_expire',
// 'parent_id',
'active' => TRUE,
// 'pricing',
'pricing' => TRUE,
// 'name',
];
}

View File

@@ -44,9 +44,9 @@ class ProductFactory extends Factory
]),
// 'price_recur_default'
// 'price_recur_strict'
// 'model_id' => 1,
'model_id' => 1,
// 'accounting'
// 'model' => 'App\Models\Product\Adsl',
'model' => Product\Broadband::class,
];
}

View File

@@ -64,7 +64,7 @@ class ServiceFactory extends Factory
// 'ordered_by',
// 'order_status',
// 'order_info',
'model' => 'App\Models\Service\Broadband',
'model' => Service\Broadband::class,
];
}
}