public function BlockAttributesFeaturesTestCase::setUp in Block Attributes 7
Enable modules and create user with specific permissions.
Overrides BlockAttributesTestCase::setUp
File
- ./
block_attributes.test, line 395 - Test the Block Attributes module.
Class
- BlockAttributesFeaturesTestCase
- Test Block Attributes integration with Features through FE Block.
Code
public function setUp() {
// Override default module and delta to test with the "Who's online" block.
$this->module = 'user';
$this->delta = 'online';
// Include all Features related modules and Test Helper feature.
parent::setUp('block_attributes_fe_block_test');
}