You are here

public function DataTestCaseUI::setUp in Data 6

Same name and namespace in other branches
  1. 7 data_ui/tests/data_ui.test \DataTestCaseUI::setUp()

Set up test.

Overrides DrupalWebTestCase::setUp

File

data_ui/tests/data_ui.test, line 28

Class

DataTestCaseUI
Test basic Data API functionality.

Code

public function setUp() {
  parent::setUp('ctools', 'schema', 'data', 'data_ui', 'data_ui_test');
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer data tables',
  )));
}