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:
baodev0
2026-07-10 14:16:35 +07:00
parent 61c0e026c8
commit dfb926055d
81 changed files with 35743 additions and 481 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ class CheckPermission
if (!$user) {
return response()->json([
'error' => true,
'message' => 'Vui lòng đăng nhập để thực hiện!',
], 401);
'message' => 'Bạn không có quyền thực hiện hành động này.',
], 403);
}
// Full Administrator luôn có tất cả quyền