You are here

public function BlockAttributesContextTestCase::setUp in Block Attributes 7

Enable modules and create user with specific permissions.

Overrides BlockAttributesTestCase::setUp

File

./block_attributes.test, line 322
Test the Block Attributes module.

Class

BlockAttributesContextTestCase
Test Block Attributes integration with Context.

Code

public function setUp() {

  // Override default module and delta to test with the "Who's online" block.
  $this->module = 'user';
  $this->delta = 'online';

  // Include the Context module and its dependencies to be loaded.
  parent::setUp('context');

  // Initialize a test context with the test block.
  $this
    ->initializeContext();
}