From c39b70d566ebafea3bb05623f5e9ee9bb16868ff Mon Sep 17 00:00:00 2001 From: Samuel Asor <8720569+sammyskills@users.noreply.github.com> Date: Mon, 21 Aug 2023 08:40:32 +0100 Subject: [PATCH] Added test for wildcard permission matrix --- tests/Authorization/AuthorizableTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Authorization/AuthorizableTest.php b/tests/Authorization/AuthorizableTest.php index fac80ec94..1dc098abf 100644 --- a/tests/Authorization/AuthorizableTest.php +++ b/tests/Authorization/AuthorizableTest.php @@ -324,6 +324,7 @@ public function testCanWorksWithMultiplePermissions(): void $this->user->addGroup('superadmin'); $this->assertTrue($this->user->can('admin.access', 'beta.access')); + $this->assertTrue($this->user->can('admin.*', 'users.*')); } /**