mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
UserTest: Fix wrong assert condition for wildcard
This commit is contained in:
parent
9936df5157
commit
891ce0fe57
@ -73,7 +73,7 @@ class UserTest extends BaseTestCase
|
||||
$this->assertTrue($user->can('test/some/specific'));
|
||||
$this->assertTrue($user->can('test/more/everything'));
|
||||
$this->assertTrue($user->can('test/wildcard-with-wildcard/*'));
|
||||
$this->assertTrue($user->can('test/wildcard/sub/sub'));
|
||||
$this->assertTrue($user->can('test/wildcard-with-wildcard/sub/sub'));
|
||||
$this->assertFalse($user->can('not/test'));
|
||||
$this->assertFalse($user->can('test/some/not/so/specific'));
|
||||
$this->assertFalse($user->can('test/wildcard2/*'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user