snipe-it/tests/Feature/Suppliers/Ui/CreateSupplierTest.php

17 lines
319 B
PHP
Raw Normal View History

<?php
namespace Tests\Feature\Suppliers\Ui;
use App\Models\User;
use Tests\TestCase;
class CreateSupplierTest extends TestCase
{
public function testPageRenders()
{
$this->actingAs(User::factory()->superuser()->create())
->get(route('suppliers.create'))
->assertOk();
}
}