snipe-it/tests/Feature/StatusLabels/Ui/UpdateStatusLabelTest.php

18 lines
392 B
PHP
Raw Normal View History

<?php
namespace Tests\Feature\StatusLabels\Ui;
use App\Models\Statuslabel;
use App\Models\User;
use Tests\TestCase;
class UpdateStatusLabelTest extends TestCase
{
public function testPageRenders()
{
$this->actingAs(User::factory()->superuser()->create())
->get(route('statuslabels.edit', Statuslabel::factory()->create()->id))
->assertOk();
}
}