You are here

public function BlockClassPermissionTestCase::setUp in Block Class 7

Same name and namespace in other branches
  1. 7.2 block_class.test \BlockClassPermissionTestCase::setUp()

Enable modules and create user with specific permissions.

Overrides BlockClassTestCase::setUp

File

./block_class.test, line 164
Test the Block Class module.

Class

BlockClassPermissionTestCase
Test Block Class permissions.

Code

public function setUp() {

  // Remove the 'administer block classes' permission from the base class.
  $this->permissions = array(
    'administer blocks',
  );
  parent::setUp();
}