- 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.
29 lines
813 B
PHP
29 lines
813 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
| NOTE: All admin functionality has been migrated to REST API
|
|
| See routes/api.php for API endpoints
|
|
|
|
|
*/
|
|
|
|
// Public API routes for client (already defined in routes/client.php)
|
|
// See routes/api.php for admin API endpoints
|
|
|
|
Route::any('{any}', function () {
|
|
return response()->json(
|
|
[
|
|
'error' => true,
|
|
'message' => 'Route not found',
|
|
],
|
|
404,
|
|
);
|
|
})->where('any', '.*');
|