19 lines
440 B
PHP
19 lines
440 B
PHP
<?php
|
|
|
|
namespace Modules\Security\Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
final class ModuleBootTest extends TestCase
|
|
{
|
|
public function test_security_route_is_registered(): void
|
|
{
|
|
$this->assertTrue(app('router')->has('administration.security.index'));
|
|
}
|
|
|
|
public function test_security_middleware_alias_is_registered(): void
|
|
{
|
|
$this->assertArrayHasKey('security.ip', app('router')->getMiddleware());
|
|
}
|
|
}
|