PHP Class Scalr\Tests\Acl\AclTest

Since: 30.17.2013
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Tests\TestCase
Show file Open project: scalr/scalr

Public Methods

Method Description
providerPredefinedRoles ( ) Data provider for testPredefinedRoles()
testPredefinedRoles ( $roleId, $allowed ) Verifies that Full access role is defined properly.
testResourceConstants ( )

Method Details

providerPredefinedRoles() public method

Data provider for testPredefinedRoles()

testPredefinedRoles() public method

All existing resources must be defined and allowed for this role. All existing resource unique permissions must be defined and allowed for this role.
public testPredefinedRoles ( $roleId, $allowed )

testResourceConstants() public method