You are here

function SkinrPanelsTestCase::setUp in Skinr 8.2

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

File

skinr_panels/tests/skinr_panels.test, line 21
Tests for the Skinr Panels module.

Class

SkinrPanelsTestCase
Tests UI functionality for Panels plugin.

Code

function setUp() {
  parent::setUp(array(
    'block',
    'page_manager',
    'panels_node',
    'panels_mini',
    'skinr_panels_test',
    'skinr_ui_test',
  ));
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer blocks',
    'use page manager',
    'administer page manager',
    'create mini panels',
    'administer mini panels',
    'access contextual links',
    'administer skinr',
    'edit skin settings',
    'edit advanced skin settings',
    'bypass node access',
  ));
  $this
    ->drupalLogin($this->admin_user);
}