You are here

function SkinrUISkinableTestCase::setUp in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 tests/skinr_ui.test \SkinrUISkinableTestCase::setUp()

File

skinr_ui/src/Tests/skinr_ui.test, line 278
Tests for the Skinr UI module.

Class

SkinrUISkinableTestCase
Tests whether or not elements are skinable in Skinr UI.

Code

function setUp() {
  parent::setUp(array(
    'skinr_ui_test_skinable',
  ));
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer blocks',
    'access contextual links',
    'administer skinr',
    'edit skin settings',
    'edit advanced skin settings',
  ));
  $this
    ->drupalLogin($this->admin_user);
}