You are here

public function ForenaInegrationTest::setup in Forena Reports 8

File

src/Tests/ForenaInegrationTest.php, line 41
tests Tests for forena. @author davidmetzler

Class

ForenaInegrationTest
Class ForenaInegrationTest

Namespace

Drupal\forena\Tests

Code

public function setup() {
  parent::setUp();

  // Create and log in our privileged user.
  $this->privileged_user = $this
    ->drupalCreateUser([
    'administer forena',
    'list forena reports',
  ], 'test_admin', TRUE);
  $this->report_user = $this
    ->drupalCreateUser([
    'list forena reports',
  ], 'test_user', TRUE);
}