mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
185bc966e6
Signed-off-by: snipe <snipe@snipe.net>
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();
|
|
}
|
|
|
|
}
|