snipe-it/tests/Feature/Licenses/Ui/UpdateLicenseTest.php
2025-02-24 15:55:05 -08:00

18 lines
372 B
PHP

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