You are here

public function ForenaReportTestCase::setup in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.5 forena.test \ForenaReportTestCase::setup()
  2. 7.5 tests/forena.test \ForenaReportTestCase::setup()
  3. 7.4 forena.test \ForenaReportTestCase::setup()

File

./forena.test, line 19
tests Tests for forena. @author davidmetzler

Class

ForenaReportTestCase
@file tests Tests for forena. @author davidmetzler

Code

public function setup() {
  parent::setup('forena', 'devel');

  // Create and log in our privileged user.
  $this->privileged_user = $this
    ->drupalCreateUser(array(
    'access demo reports',
    'administer forena reports',
    'list reports',
  ));
  $this
    ->drupalLogin($this->privileged_user);
}