public function BlockClassFeaturesTestCase::setUp in Block Class 7.2
Enable modules and create user with specific permissions.
Overrides BlockClassTestCase::setUp
File
- ./
block_class.test, line 284 - Test the Block Class module.
Class
- BlockClassFeaturesTestCase
- Test Block Class 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_class_fe_block_test');
}