mirror of
https://github.com/snipe/snipe-it.git
synced 2026-04-02 05:52:33 +00:00
17 lines
352 B
PHP
17 lines
352 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Settings;
|
|
|
|
use App\Models\User;
|
|
use Tests\TestCase;
|
|
|
|
class SecuritySettingTest extends TestCase
|
|
{
|
|
public function test_permission_required_to_view_security_settings()
|
|
{
|
|
$this->actingAs(User::factory()->create())
|
|
->get(route('settings.security.index'))
|
|
->assertForbidden();
|
|
}
|
|
}
|