Skip to content

Commit c39b70d

Browse files
committed
Added test for wildcard permission matrix
1 parent acbeb07 commit c39b70d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Authorization/AuthorizableTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ public function testCanWorksWithMultiplePermissions(): void
324324
$this->user->addGroup('superadmin');
325325

326326
$this->assertTrue($this->user->can('admin.access', 'beta.access'));
327+
$this->assertTrue($this->user->can('admin.*', 'users.*'));
327328
}
328329

329330
/**

0 commit comments

Comments
 (0)