A free open source IT asset/license management system
Added one more test
snipe1bb5dc7e69b4
diff --git a/tests/Feature/Users/Ui/UpdateUserTest.php b/tests/Feature/Users/Ui/UpdateUserTest.phpindex 2a82cde3ca..0c4578343a 100644--- a/tests/Feature/Users/Ui/UpdateUserTest.php+++ b/tests/Feature/Users/Ui/UpdateUserTest.php@@ -11,6 +11,14 @@ use Illuminate\Support\Facades\Hash;class UpdateUserTest extends TestCase{++ public function testRequiresPermission()+ {+ $this->actingAs(User::factory()->create())+ ->get(route('users.edit', User::factory()->create()->id))+ ->assertForbidden();+ }+public function testPageRenders(){$this->actingAs(User::factory()->editUsers()->create())