Skip to content

Commit

Permalink
Added test for wildcard permission matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyskills committed Aug 21, 2023
1 parent acbeb07 commit c39b70d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Authorization/AuthorizableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.*'));
}

/**
Expand Down

0 comments on commit c39b70d

Please sign in to comment.