A free open source IT asset/license management system
<?php
namespace Tests\Feature\Suppliers\Ui;
use App\Models\Supplier;
use App\Models\User;
use Tests\TestCase;
class UpdateSupplierTest extends TestCase
{
public function test_page_renders()
{
$this->actingAs(User::factory()->superuser()->create())
->get(route('suppliers.edit', Supplier::factory()->create()->id))
->assertOk();
}
}