- Create a new Blade view for domain registration (`registrant-tochuc.blade.php`) to capture organization and manager details. - Implement email templates for new domain orders for both admin (`domain-order-new.blade.php`) and customers (`domain-order-received.blade.php`). - Add CSV exports for client and domain data. - Introduce tests for customer mass assignment, password reset, login throttling, and permission gating. - Ensure service renewals use current pricing and validate ownership for virtual machines. - Validate mass assignment behavior in service model.
20 lines
499 B
PHP
20 lines
499 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Feature\Api\Admin;
|
|
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Tests\TestCase;
|
|
|
|
class InvoiceTestRouteRemovedTest extends TestCase
|
|
{
|
|
use RefreshDatabase;
|
|
|
|
public function test_unauthenticated_invoice_test_routes_no_longer_exist(): void
|
|
{
|
|
$this->getJson('/api/v1/invoice-test/INV-000001/preview-pdf')->assertStatus(404);
|
|
$this->postJson('/api/v1/invoice-test/INV-000001/send-email')->assertStatus(404);
|
|
}
|
|
}
|