3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 14:15:53 +00:00
Files
snipe-it/tests/Feature/Components/Ui/ShowComponentTest.php
2025-02-19 05:03:56 +00:00

18 lines
376 B
PHP

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