mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-21 18:50:47 -08:00
19 lines
348 B
PHP
19 lines
348 B
PHP
<?php
|
|||
|
|||
namespace Tests\Feature\Settings;
|
|||
|
|||
use Tests\TestCase;
|
|||
use App\Models\User;
|
|||
|
|||
|
|||
class SecuritySettingTest extends TestCase
|
|||
{
|
|||
public function testPermissionRequiredToViewSecuritySettings()
|
|||
{
|
|||
$this->actingAs(User::factory()->create())
|
|||
->get(route('settings.security.index'))
|
|||
->assertForbidden();
|
|||
}
|
|||
|
|||
}
|