mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 17:44:17 -08:00
17 lines
344 B
PHP
17 lines
344 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Feature\Accessories\Ui;
|
||
|
|
||
|
use App\Models\User;
|
||
|
use Tests\TestCase;
|
||
|
|
||
|
class AccessoriesIndexTest extends TestCase
|
||
|
{
|
||
|
public function testPermissionRequiredToViewAccessoryList()
|
||
|
{
|
||
|
$this->actingAs(User::factory()->create())
|
||
|
->get(route('accessories.index'))
|
||
|
->assertForbidden();
|
||
|
}
|
||
|
}
|