Client Route (Tests\Feature\Playground\Crm\Api\Http\Controllers\Playground\ClientRoute) [x] Json guest cannot see info [x] Json guest cannot destroy [x] Json guest cannot restore [x] Json guest cannot get index [x] Json guest cannot lock [x] Json guest cannot unlock [x] Json guest cannot get create info [x] Json guest cannot get edit info [x] Json guest cannot store [x] Json guest cannot update [x] Json admin can get index [x] Json show info for admin [x] Json admin can get create info [x] Json admin can get edit info [x] Json destroy as admin and succeed [x] Json restore as admin and succeed [x] Json update as admin without payload and fail validation [x] Json lock as admin and succeed [x] Json store as admin without payload and fail validation [x] Json unlock as admin and succeed [x] Json get create info as admin with invalid parameter and fail validation [x] Json admin can get index with filters [x] Json edit as admin and fail validation with invalid parameter [x] Json admin can update [x] Json store as admin and succeed [x] Json lock as admin and succeed with no redirect [x] Json destroy as admin and succeed with force delete [x] Json restore as admin and succeed with no redirect [x] Json unlock as admin and succeed with no redirect [x] Json destroy as admin and succeed with no content [x] Json lock as user and get denied [x] Json restore as user and get denied [x] Json unlock as user and get denied [x] Json destroy as admin and succeed and ignore redirect [x] Json destroy as user and get denied and no force delete allowed Command (Tests\Feature\Playground\Crm\Api\Console\Commands\About\Command) [x] Command about displays package information and succeed Contact Route (Tests\Feature\Playground\Crm\Api\Http\Controllers\Playground\ContactRoute) [x] Json guest cannot see info [x] Json guest cannot destroy [x] Json guest cannot restore [x] Json guest cannot get index [x] Json guest cannot lock [x] Json guest cannot unlock [x] Json guest cannot get create info [x] Json guest cannot get edit info [x] Json guest cannot store [x] Json guest cannot update [x] Json admin can get index [x] Json show info for admin [x] Json admin can get create info [x] Json admin can get edit info [x] Json destroy as admin and succeed [x] Json restore as admin and succeed [x] Json update as admin without payload and fail validation [x] Json lock as admin and succeed [x] Json store as admin without payload and fail validation [x] Json unlock as admin and succeed [x] Json get create info as admin with invalid parameter and fail validation [x] Json admin can get index with filters [x] Json edit as admin and fail validation with invalid parameter [x] Json admin can update [x] Json store as admin and succeed [x] Json lock as admin and succeed with no redirect [x] Json destroy as admin and succeed with force delete [x] Json restore as admin and succeed with no redirect [x] Json unlock as admin and succeed with no redirect [x] Json destroy as admin and succeed with no content [x] Json lock as user and get denied [x] Json restore as user and get denied [x] Json unlock as user and get denied [x] Json destroy as admin and succeed and ignore redirect [x] Json destroy as user and get denied and no force delete allowed Create Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\CreateRequest) [x] Request instance Create Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\CreateRequest) [x] Request instance Create Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\CreateRequest) [x] Request instance Create Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\CreateRequest) [x] Request instance Create Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\CreateRequest) [x] Request instance Destroy Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\DestroyRequest) [x] Request instance Destroy Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\DestroyRequest) [x] Request instance Destroy Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\DestroyRequest) [x] Request instance Destroy Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\DestroyRequest) [x] Request instance Destroy Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\DestroyRequest) [x] Request instance Edit Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\EditRequest) [x] Request instance Edit Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\EditRequest) [x] Request instance Edit Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\EditRequest) [x] Request instance Edit Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\EditRequest) [x] Request instance Edit Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\EditRequest) [x] Request instance Index Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\IndexRequest) [x] Request instance Index Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\IndexRequest) [x] Request instance Index Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\IndexRequest) [x] Request instance Index Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\IndexRequest) [x] Request instance Index Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\IndexRequest) [x] Request instance Instance (Tests\Feature\Playground\Crm\Api\Http\Requests\FormRequest\Instance) [x] FormRequest authorize with admin Instance (Tests\Unit\Playground\Crm\Api\Http\Requests\FormRequest\Instance) [x] FormRequest authorize without user [x] RULES is empty by default [x] UserHasAdminPrivileges without user [x] UserHasAdminPrivileges with admin [x] UserHasAdminPrivileges with default laravel user Instance (Tests\Unit\Playground\Crm\Api\ServiceProvider\Instance) [x] Version matches [x] SetPolicies with empty array [x] SetPolicies with invalid model [x] SetPolicies with invalid policy Location Route (Tests\Feature\Playground\Crm\Api\Http\Controllers\Playground\LocationRoute) [x] Json guest cannot see info [x] Json guest cannot destroy [x] Json guest cannot restore [x] Json guest cannot get index [x] Json guest cannot lock [x] Json guest cannot unlock [x] Json guest cannot get create info [x] Json guest cannot get edit info [x] Json guest cannot store [x] Json guest cannot update [x] Json admin can get index [x] Json show info for admin [x] Json admin can get create info [x] Json admin can get edit info [x] Json destroy as admin and succeed [x] Json restore as admin and succeed [x] Json update as admin without payload and fail validation [x] Json lock as admin and succeed [x] Json store as admin without payload and fail validation [x] Json unlock as admin and succeed [x] Json get create info as admin with invalid parameter and fail validation [x] Json admin can get index with filters [x] Json edit as admin and fail validation with invalid parameter [x] Json admin can update [x] Json store as admin and succeed [x] Json lock as admin and succeed with no redirect [x] Json destroy as admin and succeed with force delete [x] Json restore as admin and succeed with no redirect [x] Json unlock as admin and succeed with no redirect [x] Json destroy as admin and succeed with no content [x] Json lock as user and get denied [x] Json restore as user and get denied [x] Json unlock as user and get denied [x] Json destroy as admin and succeed and ignore redirect [x] Json destroy as user and get denied and no force delete allowed Lock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\LockRequest) [x] Request instance Lock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\LockRequest) [x] Request instance Lock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\LockRequest) [x] Request instance Lock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\LockRequest) [x] Request instance Lock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\LockRequest) [x] Request instance Organization Route (Tests\Feature\Playground\Crm\Api\Http\Controllers\Playground\OrganizationRoute) [x] Json guest cannot see info [x] Json guest cannot destroy [x] Json guest cannot restore [x] Json guest cannot get index [x] Json guest cannot lock [x] Json guest cannot unlock [x] Json guest cannot get create info [x] Json guest cannot get edit info [x] Json guest cannot store [x] Json guest cannot update [x] Json admin can get index [x] Json show info for admin [x] Json admin can get create info [x] Json admin can get edit info [x] Json destroy as admin and succeed [x] Json restore as admin and succeed [x] Json update as admin without payload and fail validation [x] Json lock as admin and succeed [x] Json store as admin without payload and fail validation [x] Json unlock as admin and succeed [x] Json get create info as admin with invalid parameter and fail validation [x] Json admin can get index with filters [x] Json edit as admin and fail validation with invalid parameter [x] Json admin can update [x] Json store as admin and succeed [x] Json lock as admin and succeed with no redirect [x] Json destroy as admin and succeed with force delete [x] Json restore as admin and succeed with no redirect [x] Json unlock as admin and succeed with no redirect [x] Json destroy as admin and succeed with no content [x] Json lock as user and get denied [x] Json restore as user and get denied [x] Json unlock as user and get denied [x] Json destroy as admin and succeed and ignore redirect [x] Json destroy as user and get denied and no force delete allowed People Route (Tests\Feature\Playground\Crm\Api\Http\Controllers\Playground\PeopleRoute) [x] Json guest cannot see info [x] Json guest cannot destroy [x] Json guest cannot restore [x] Json guest cannot get index [x] Json guest cannot lock [x] Json guest cannot unlock [x] Json guest cannot get create info [x] Json guest cannot get edit info [x] Json guest cannot store [x] Json guest cannot update [x] Json admin can get index [x] Json show info for admin [x] Json admin can get create info [x] Json admin can get edit info [x] Json destroy as admin and succeed [x] Json restore as admin and succeed [x] Json update as admin without payload and fail validation [x] Json lock as admin and succeed [x] Json store as admin without payload and fail validation [x] Json unlock as admin and succeed [x] Json get create info as admin with invalid parameter and fail validation [x] Json admin can get index with filters [x] Json edit as admin and fail validation with invalid parameter [x] Json admin can update [x] Json store as admin and succeed [x] Json lock as admin and succeed with no redirect [x] Json destroy as admin and succeed with force delete [x] Json restore as admin and succeed with no redirect [x] Json unlock as admin and succeed with no redirect [x] Json destroy as admin and succeed with no content [x] Json lock as user and get denied [x] Json restore as user and get denied [x] Json unlock as user and get denied [x] Json destroy as admin and succeed and ignore redirect [x] Json destroy as user and get denied and no force delete allowed Policy (Tests\Unit\Playground\Crm\Api\Policies\ClientPolicy\Policy) [x] Policy instance Policy (Tests\Unit\Playground\Crm\Api\Policies\ContactPolicy\Policy) [x] Policy instance Policy (Tests\Unit\Playground\Crm\Api\Policies\LocationPolicy\Policy) [x] Policy instance Policy (Tests\Unit\Playground\Crm\Api\Policies\OrganizationPolicy\Policy) [x] Policy instance Policy (Tests\Unit\Playground\Crm\Api\Policies\PeoplePolicy\Policy) [x] Policy instance Restore Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\RestoreRequest) [x] Request instance Restore Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\RestoreRequest) [x] Request instance Restore Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\RestoreRequest) [x] Request instance Restore Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\RestoreRequest) [x] Request instance Restore Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\RestoreRequest) [x] Request instance Show Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\ShowRequest) [x] Request instance Show Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\ShowRequest) [x] Request instance Show Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\ShowRequest) [x] Request instance Show Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\ShowRequest) [x] Request instance Show Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\ShowRequest) [x] Request instance Store Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\StoreRequest) [x] Request instance [x] StoreRequest rules with optional revisions disabled [x] StoreRequest rules with optional revisions enabled Store Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\StoreRequest) [x] Request instance [x] StoreRequest rules with optional revisions disabled [x] StoreRequest rules with optional revisions enabled Store Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\StoreRequest) [x] Request instance [x] StoreRequest rules with optional revisions disabled [x] StoreRequest rules with optional revisions enabled Store Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\StoreRequest) [x] Request instance [x] StoreRequest rules with optional revisions disabled [x] StoreRequest rules with optional revisions enabled Store Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\StoreRequest) [x] Request instance [x] StoreRequest rules with optional revisions disabled [x] StoreRequest rules with optional revisions enabled Unlock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\UnlockRequest) [x] Request instance Unlock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\UnlockRequest) [x] Request instance Unlock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\UnlockRequest) [x] Request instance Unlock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\UnlockRequest) [x] Request instance Unlock Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\UnlockRequest) [x] Request instance Update Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Client\UpdateRequest) [x] Request instance [x] UpdateRequest rules with optional revisions disabled [x] UpdateRequest rules with optional revisions enabled Update Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Contact\UpdateRequest) [x] Request instance [x] UpdateRequest rules with optional revisions disabled [x] UpdateRequest rules with optional revisions enabled Update Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Location\UpdateRequest) [x] Request instance [x] UpdateRequest rules with optional revisions disabled [x] UpdateRequest rules with optional revisions enabled Update Request (Tests\Unit\Playground\Crm\Api\Http\Requests\Organization\UpdateRequest) [x] Request instance [x] UpdateRequest rules with optional revisions disabled [x] UpdateRequest rules with optional revisions enabled Update Request (Tests\Unit\Playground\Crm\Api\Http\Requests\People\UpdateRequest) [x] Request instance [x] UpdateRequest rules with optional revisions disabled [x] UpdateRequest rules with optional revisions enabled