Add feature tests for domain order management
- Implement AdminDomainOrderTest to cover admin functionalities for domain orders including listing, confirming registration, KYC updates, activation, rejection, and refunds. - Implement ClientDomainOrderTest to cover client functionalities for placing domain orders, including validation for balance, duplicate orders, and domain normalization. - Ensure proper handling of domain pricing and service statuses throughout the tests.
This commit is contained in:
@@ -17,12 +17,11 @@ class CustomerFactory extends Factory
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'firstname' => $this->faker->name(),
|
||||
'lastname' => $this->faker->name(),
|
||||
'fullname' => $this->faker->name(),
|
||||
'phone' => $this->faker->unique()->phoneNumber(),
|
||||
'email' => $this->faker->unique()->email(),
|
||||
'email' => $this->faker->unique()->safeEmail(),
|
||||
'email_verify' => now(),
|
||||
'password' => '$2y$10$2Tcx805kaC.Ug/IUD34pW.R.D0l0Gpy.IEeXkrjhBr1uu048pEFp.'
|
||||
'password' => '$2y$10$2Tcx805kaC.Ug/IUD34pW.R.D0l0Gpy.IEeXkrjhBr1uu048pEFp.',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user