mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
#591 - server-providers
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
use App\Models\Project;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Inertia\Testing\AssertableInertia as Assert;
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
use Tests\TestCase;
|
||||
|
||||
class UserTest extends TestCase
|
||||
@ -41,7 +41,7 @@ public function test_see_users_list(): void
|
||||
|
||||
$this->get(route('users'))
|
||||
->assertSuccessful()
|
||||
->assertInertia(fn (Assert $page) => $page->component('users/index'));
|
||||
->assertInertia(fn (AssertableInertia $page) => $page->component('users/index'));
|
||||
}
|
||||
|
||||
public function test_must_be_admin_to_see_users_list(): void
|
||||
|
Reference in New Issue
Block a user