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:
+7
-4
@@ -18,8 +18,11 @@
|
||||
// See routes/api.php for admin API endpoints
|
||||
|
||||
Route::any('{any}', function () {
|
||||
return response()->json([
|
||||
'error' => true,
|
||||
'message' => 'Route not found'
|
||||
], 404);
|
||||
return response()->json(
|
||||
[
|
||||
'error' => true,
|
||||
'message' => 'Route not found',
|
||||
],
|
||||
404,
|
||||
);
|
||||
})->where('any', '.*');
|
||||
|
||||
Reference in New Issue
Block a user