3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-08 00:38:03 +00:00
Files
snipe-it/tests/Feature/Components/Ui/EditComponentTest.php
2026-03-16 17:40:57 -07:00

18 lines
378 B
PHP

<?php
namespace Tests\Feature\Components\Ui;
use App\Models\Component;
use App\Models\User;
use Tests\TestCase;
class EditComponentTest extends TestCase
{
public function test_page_renders()
{
$this->actingAs(User::factory()->superuser()->create())
->get(route('components.edit', Component::factory()->create()))
->assertOk();
}
}