You are here

function SkinrUIPluginViewsTestCase::setUp in Skinr 8.2

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

File

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

Class

SkinrUIPluginViewsTestCase
Tests UI functionality for Block plugin.

Code

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