function SkinrUIPluginTestCase::setUp in Skinr 8.2
Same name and namespace in other branches
- 7.2 tests/skinr_ui.test \SkinrUIPluginTestCase::setUp()
File
- skinr_ui/
src/ Tests/ skinr_ui.test, line 523 - Tests for the Skinr UI module.
Class
- SkinrUIPluginTestCase
- Tests UI functionality for Block plugin.
Code
function setUp() {
parent::setUp(array(
'block',
'comment',
'node',
'skinr_ui',
'skinr_ui_test',
));
$this->admin_user = $this
->drupalCreateUser(array(
'administer blocks',
'access comments',
'access content',
'post comments',
'skip comment approval',
'access contextual links',
'administer skinr',
'edit skin settings',
'edit advanced skin settings',
'bypass node access',
));
$this
->drupalLogin($this->admin_user);
}