mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
18 lines
371 B
PHP
18 lines
371 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Locations\Ui;
|
|
|
|
use App\Models\Location;
|
|
use App\Models\User;
|
|
use Tests\TestCase;
|
|
|
|
class ShowLocationTest extends TestCase
|
|
{
|
|
public function testPageRenders()
|
|
{
|
|
$this->actingAs(User::factory()->superuser()->create())
|
|
->get(route('locations.show', Location::factory()->create()))
|
|
->assertOk();
|
|
}
|
|
}
|