public function BlockAttributesPermissionTestCase::setUp in Block Attributes 7
Enable modules and create user with specific permissions.
Overrides BlockAttributesTestCase::setUp
File
- ./
block_attributes.test, line 272 - Test the Block Attributes module.
Class
- BlockAttributesPermissionTestCase
- Test Block Attributes permissions.
Code
public function setUp() {
// Remove the 'administer block attributes' permission from the base class.
$this->permissions = array(
'administer blocks',
);
parent::setUp();
}