mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
18 lines
380 B
PHP
18 lines
380 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Components\Ui;
|
|
|
|
use App\Models\Component;
|
|
use App\Models\User;
|
|
use Tests\TestCase;
|
|
|
|
class EditComponentTest extends TestCase
|
|
{
|
|
public function testPageRenders()
|
|
{
|
|
$this->actingAs(User::factory()->superuser()->create())
|
|
->get(route('components.edit', Component::factory()->create()->id))
|
|
->assertOk();
|
|
}
|
|
}
|