Skip to content

Commit

Permalink
UserTest: Fix wrong assert condition for wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fuhr committed May 7, 2015
1 parent 9936df5 commit 891ce0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/php/library/Icinga/UserTest.php
Expand Up @@ -73,7 +73,7 @@ public function testPermissions()
$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/*'));
Expand Down

0 comments on commit 891ce0f

Please sign in to comment.