Skip to content

A free open source IT asset/license management system

Derp. Copypasta

snipe0b63bcc056c7
diff --git a/tests/Feature/Users/Ui/IndexUsersTest.php b/tests/Feature/Users/Ui/IndexUsersTest.php
index 5704db22c5..b2b52538f5 100644
--- a/tests/Feature/Users/Ui/IndexUsersTest.php
+++ b/tests/Feature/Users/Ui/IndexUsersTest.php
@@ -9,7 +9,7 @@ class IndexUsersTest extends TestCase
{
public function testRequiresPermission()
{
- $this->actingAsForApi(User::factory()->create())
+ $this->actingAs(User::factory()->create())
->get(route('users.index'))
->assertForbidden();
}