mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-31 15:43:25 -08:00
23 lines
460 B
PHP
23 lines
460 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Feature\Settings;
|
||
|
|
||
|
use App\Models\Asset;
|
||
|
use Tests\TestCase;
|
||
|
use Illuminate\Http\UploadedFile;
|
||
|
use Illuminate\Support\Facades\Storage;
|
||
|
use App\Models\User;
|
||
|
use App\Models\Setting;
|
||
|
|
||
|
|
||
|
class LabelSettingTest extends TestCase
|
||
|
{
|
||
|
public function testPermissionRequiredToViewLabelSettings()
|
||
|
{
|
||
|
$this->actingAs(User::factory()->create())
|
||
|
->get(route('settings.labels.index'))
|
||
|
->assertForbidden();
|
||
|
}
|
||
|
|
||
|
}
|