3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 18:45:49 +00:00
Files
snipe-it/tests/Feature/Settings/SecuritySettingTest.php
2024-10-09 19:46:47 +01:00

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();
}
}