snipe-it/tests/Feature/Depreciations/Ui/ShowDepreciationTest.php
2024-12-16 17:45:10 -08:00

18 lines
395 B
PHP

<?php
namespace Tests\Feature\Depreciations\Ui;
use App\Models\Depreciation;
use App\Models\User;
use Tests\TestCase;
class ShowDepreciationTest extends TestCase
{
public function testPageRenders()
{
$this->actingAs(User::factory()->superuser()->create())
->get(route('depreciations.show', Depreciation::factory()->create()->id))
->assertOk();
}
}