snipe-it/tests/Feature/Groups/Ui/ShowGroupTest.php
2024-12-16 17:45:10 -08:00

18 lines
360 B
PHP

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