You are here

public function ForenaReportTestCase::setup in Forena Reports 7.5

Same name in this branch
  1. 7.5 forena.test \ForenaReportTestCase::setup()
  2. 7.5 tests/forena.test \ForenaReportTestCase::setup()
Same name and namespace in other branches
  1. 7.3 forena.test \ForenaReportTestCase::setup()
  2. 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');

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