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

18 lines
370 B
PHP

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