mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-20 19:05:55 -08:00
18 lines
381 B
PHP
18 lines
381 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\AssetModels\Ui;
|
|
|
|
use App\Models\AssetModel;
|
|
use App\Models\User;
|
|
use Tests\TestCase;
|
|
|
|
class ShowAssetModelsTest extends TestCase
|
|
{
|
|
public function testPageRenders()
|
|
{
|
|
$this->actingAs(User::factory()->superuser()->create())
|
|
->get(route('models.show', AssetModel::factory()->create()->id))
|
|
->assertOk();
|
|
}
|
|
}
|