Abstract (Tests\Unit\Playground\Auth\Policies\Policy\Abstract) [x] Before with root [x] Before with root as secondary fails [x] Index without role [x] Index with admin [x] View without role [x] View with admin [x] View with admin in roles Abstract Role (Tests\Unit\Playground\Auth\Policies\ModelPolicy\AbstractRole) [x] Create without role [x] Create with admin [x] Delete without role [x] Delete with admin [x] Delete locked with admin [x] Detail without role [x] Detail with admin [x] Edit without role [x] Edit with admin [x] ForceDelete without role [x] ForceDelete with admin [x] Lock without role [x] Lock with admin [x] Manage without role [x] Manage with admin [x] Restore without role [x] Restore with admin [x] Store without role [x] Store with admin [x] Update without role [x] Update with admin [x] Update locked with admin [x] Unlock without role [x] Unlock with admin Command (Tests\Feature\Playground\Auth\Console\Commands\About\Command) [x] Command about displays package information and succeed with code 0 Command (Tests\Unit\Playground\Auth\Console\Commands\HashPassword\Command) [x] Command auth hash password with json [x] Command auth hash password [x] Command auth hash password without argument and fail Trait (Tests\Unit\Playground\Auth\Policies\PolicyTrait\Trait) [x] Get entity [x] Get package [x] Has token [x] Get token [x] Set token [x] Verify does not log when app debugging is disabled [x] Verify does not log when auth debugging is disabled [x] Verify logs with debugging enabled [x] Verify privileges [x] Verify roles [x] Verify user Trait (Tests\Unit\Playground\Auth\Policies\PrivilegeTrait\Trait) [x] Privilege PrivilegePolicy without parameter [x] Privilege PrivilegeModelPolicy without parameter [x] Privilege UserPolicy without parameter [x] Privilege with package and without parameter [x] Privilege with package and entity and without parameter [x] Has privilege [x] HasPrivilege with user hasPrivilege [x] HasPrivilege with user privileges [x] HasPrivilege without privileges enabled Trait (Tests\Unit\Playground\Auth\Policies\RoleTrait\Trait) [x] Get roles for admin [x] Get roles for action [x] Get roles to view [x] Has role [x] HasRole advanced role