UserTest: Fix wrong assert condition for wildcard

This commit is contained in:
Alexander Fuhr 2015-05-07 17:19:00 +02:00
parent 9936df5157
commit 891ce0fe57
1 changed files with 1 additions and 1 deletions

View File

@ -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/*'));